View source: R/fetch_cpg_annot.R
| get_cpg_annotation | R Documentation |
Get CpG annotation from Illumina
get_cpg_annotation(
cpg_id,
is_epic = TRUE,
short_annotation = TRUE,
silence_warnings = TRUE
)
cpg_id |
A character vector with the CpG IDs from Illumina to annotate. |
is_epic |
A boolean, if TRUE, the annotation will be fetched from the EPIC array, otherwise from the 450k array. Default is TRUE. |
short_annotation |
A boolean, if TRUE, only a small number of columns from the full annotation reference will be kept. This leads to an easier to read output. Default is TRUE. |
silence_warnings |
A boolean, if TRUE, warnings produced during the downloading and loading of the data will be silenced. Default is TRUE. |
A table with the annotated CpGs in the same order as the provided signatures.
library("CimpleG")
# read data
signatures <- c("cg14501977", "cg24548498")
# Get signature annotation
signature_annotation <- get_cpg_annotation(signatures)
# check signature annotation
signature_annotation
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.