View source: R/util1_OrderCpGsByLocation.R
OrderCpGsByLocation | R Documentation |
Order CpGs by genomic location
OrderCpGsByLocation( CpGs_char, genome = c("hg19", "hg38"), arrayType = c("450k", "EPIC"), manifest_gr = NULL, ignoreStrand = TRUE, output = c("vector", "dataframe") )
CpGs_char |
vector of CpGs |
genome |
Human genome of reference: hg19 or hg38 |
arrayType |
Type of array: 450k or EPIC |
manifest_gr |
A GRanges object with the genome manifest (as returned by
|
ignoreStrand |
Whether strand can be ignored, default is TRUE |
output |
vector of CpGs or dataframe with CpGs, CHR, MAPINFO |
vector of CpGs ordered by location or dataframe with CpGs ordered by location (cpg), chromosome (chr), position (pos)
CpGs_char <- c("cg04677227", "cg07146435", "cg11632906", "cg20214853") OrderCpGsByLocation( CpGs_char, genome = "hg19", arrayType = "450k", ignoreStrand = TRUE, output = "dataframe" )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.