Description Usage Arguments Value Author(s) Examples
View source: R/change_genomic_coordinate.R
change the genomic coordinate system of inputRegion by liftOver with chainFile
1 2 3 4 5 6 7 | change_genomic_coordinate(
inputRegion,
chainFile,
targetAnnotation = NULL,
is_parallel = TRUE,
no_cores = NULL
)
|
inputRegion |
the region you want to change the genomic coordinate system,a |
chainFile |
a chainFile of liftOver. for example, if you want mapping the the inputRegion from hg38 to mm10, then the chainFile must be "hg38ToMm10.over.chain". you can download from the source <http://hgdownload.soe.ucsc.edu/downloads.html#liftover> |
targetAnnotation |
the |
is_parallel |
Logical, indicating if code should be run in parallel. |
no_cores |
if you have specify the is_parallel is ture ,you can specify the number of parallel cores |
A GRanges
object corrsponding to the inputRegion in another genomic coordinate system
Hongen Kang geneprophet@163.com
1 2 3 4 5 6 |
## Not run:
filePath <- system.file("extdata", "hg38ToMm10.over.chain", package = "BSDMR")
mouse_region <- change_genomic_coordinate(human_region,filePath,mouse_anno)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.