Phase template strands from Strand-seq data


[Up] [Top]

Documentation for package ‘StrandPhaseR’ version 1.0.0

Help Pages

assembleHaps This will take sorted matrices and will calculate concordance of each single cell to the consensus haplotypes in order to assemble highly accurate haplotypes
bamregion2GRanges Import BAM file into GRanges
calcMatrixScore This function calculates score of a matrix as a sum of partial scores of each columns
compareSingleCellHaps This will take sorted matrices and will calculate concordance of each single cell to the consensus haplotypes in order to assemble highly accurate haplotypes
exportBedGraph Generates a bedgraph from GRanges object in order to upload on to UCSC Genome browser
exportConsensus This funcion will load sorted watson and crick matrices and will collapsed them in order to obtain consensus string of each matrix
exportVCF Generates a VCF file from phased haplotypes
fillGapsWithBam This function will take both assembled haplotypes and will try to fill gaps at positions where only one allele is phased Such position have to be heterozygous so the alternative allele at this position can be reliably distinguished
fillGapsWithVCF This function will take both assembled haplotypes and will try to fill gaps at positions where only one allele is phased Such position have to be heterozygous so the alternative allele at this position can be reliably distinguished
loadGRangesFromFiles Load phased data from RData files
loadMatrices This funcion will read in partial single cell haplotypes into two parallel matrices separately for Watson and Crick reads
LOHseeker This function uses circular-binary-segementation to segment single cell haplotypes based on their similarity to consensus haploypes of all cells.
phaseChromosome Wrapper function for StrandPhaseR
plotHapDensity This function will take phased data for each chromosome and plot density of phased SNVs
plotPhasedReads This function will take phased reads for each chromosome and plot them
plotSingleCellHaps This function will take phased data for each chromosome and plot density of phased SNVs
readConfig Read StrandPhaseR configuration file
sortMatrices This funcion will load initial watson and crick matrices and will sort them according to the phase information of each single cell
splitReads This will take phased info for each haplotype and will split directional reads of each single cell into haplotype specific reads
strandPhaseR Wrapper function
vcf2ranges Read VCF file into a 'GRanges' object
writeConfig Write StrandPhaseR configuration file