Description Usage Arguments Details Value Usage Examples
count base measurement (e.g methylation) on any genomic regions.
1 | summarizeBases(obj=NULL,bamFile=character(0),annotationFile=character(0),baseReport=charcter(0),description=character(0))
|
obj |
A SeqData object. |
bamFile |
The full path to the sequencing data. The data needs to be in bam file format. |
annotationFile |
csv annotation file for specifying ranges of interest. It must includes the miminum five field: 'chrom','txSart','txEnd','strand' and 'name'. |
baseReport |
DNA methylaton report from methylaton aligners such as bismark, in the form of a csv file has minimu four columns "chromosome", "position", "strand", "count_methylated", "count_unmethylated". if strand information is not available, fill it with "*". |
description |
Optional. User can input short desciption for the output file, it will show up in the file name of the output file. |
the method can be applied to any parameters measured along genome. essentially, the function is to group the items in bases based on region provided, then comput whatever statistics over those groups. Internally, it calls getBaseAlignment.
baseTable.csv a csv file contains the base summarization.
summarizeBases(obj=NULL,bamFile=character(0),annotationFile=character(0),baseReport=charcter(0),description=character(0))
1 2 3 | # summarizeBases(obj)
# summarizeBases(baseReport)
# summarizeBases(bamFile=bamFile,annotationFile=annotationFile)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.