fiberseqBedToBigwig | R Documentation |
Processes data from bed file that is the output of Andrew Stergachis fiberseq scripts where each row is a fiber and the final columns indicate methylated positions in that fiber. Output is: 1) the original GRanges with all invalide fibers removed and with additional column denoting fraction methylation, 2) A new GRanges with all valid A/T postions and their fraction methylation.
fiberseqBedToBigwig( bedGR, genome = BSgenome.Celegans.UCSC.ce11::Celegans, ATpositionGR = NULL, minSubreadCov = 10, minReadCov = 5 )
bedGR |
GRanges object of fiberseq output (bed) imported into R |
genome |
BSgenome object for your organism with UCSC style seqinfo (Default is C. elegans ce11) |
ATpositionGR |
GRanges object with position of all As and Ts in genome |
minSubreadCov |
Minimum coverage of the read with subreads (default=10) |
minReadCov |
Minimum read coverage per genomic position (default=5) |
List of two GRanges: The first is the original bedGR but with additonal metadata columns for fraction methylation per fiber. The second contains all the A/T sites along the genome for which a valid fraction methylation could be calculated.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.