Description Usage Arguments Details Value Author(s) References Examples
Given bam file or directories of bam files, counting reads mapped to genomic intervals specified by user.
1 |
bam |
bam file, including absolute path of the file. This is usually the output of alignment programs like, bwa, bowtie, etc. |
bamdir |
Alternatively, you can also provide the path of a list of bam files to process all at once. |
bed |
beb files, which include genomic intervels you want to measure. |
This function is basically a wrapper for bedtools, which means you still need to have bedtools installed on your computer and saved in your system path.
A list of two elements:
count |
a vector or matrix of values that indicates the number of reads that mapped to user-specified intervals |
gaplength |
a integer vector that indicates the gap length of user-specified intervals |
Yuanhang Liu
https://github.com/Liuy12/MBDDiff
1 2 3 4 5 | ## Not run:
# Process several bam files in a fold
Promoter_counts <- bedtoolsr(bamdir = '/path/to/bam/files', bed = '/path/to/bed/file')
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.