Description Usage Arguments Value Author(s) Examples
read_annotation
reads a file containing annotation data, which
will be used to select genomic regions for downstream analysis.
The annotation file format is the following: "chromosome", "EnsemblID", "name","start", "end",
"strand".
1 |
file |
the path of annotation file |
A GRanges
object.
The GRanges object contains three additional metadata columns:
id
: EnsemblID
center
: the center of the region,(strat+end)/2
annotation
:the annotation of the region, it can be promoter,downstream,gene,UTR...
Hongen Kang geneprophet@163.com
1 2 3 4 5 6 7 8 | # Obtain the path to files
## Not run:
#' file <- system.file("extdata", "human_chr22_annotation.txt", package = "BSDMR")
human_anno <- read_annotation(file)
file <- system.file("extdata", "mouse_chr15_annotation.txt", package = "BSDMR")
mouse_anno <- read_annotation(file)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.