Description Usage Arguments Value Examples
Constructs a GRanges object from a bam/bed/bed.zip file in a consistent way.
1 2 3 |
filename |
the complete file path of a bam?bed file. |
filetype |
the file type bam/bed/bed.zip. |
genomeName |
the name of the genome used to map the reads (i.e. "mm9"). N.B. if NOT NULL the GRanges Seqinfo will be forced to genomeName Seqinfo (needs Internet access, but strongly suggested!) |
onlyStdChrs |
flag to keep only standard chromosome. |
arePeaks |
flag indicating if the file contains peaks. |
verbose |
flag to obtain verbose output. |
a GRanges object.
1 2 3 4 5 | files <- list.files(system.file("extdata/bam/", package="DEScan2"),
pattern="bam$", full.names=TRUE)
bgr <- constructBedRanges(files[1], filetype="bam", genomeName="mm9",
onlyStdChrs=TRUE)
bgr
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.