annotate_cpg | R Documentation |
This function annotates a differentially methylated region
annotate_cpg(
data,
db,
split = ",",
epi_col = "cpg_ids",
gene_col = "GencodeBasicV12_NAME",
feat_col = "Regulatory_Feature_Group",
relat_col = "Relation_to_Island",
build = "37",
omim = TRUE
)
data |
DataFrame-like object. |
db |
a character string specifying the
Database to use for annotation.
E.g: |
split |
a character string containing the separator for CpG ids.
Default |
epi_col |
CpG ids, should be row names in the data base. |
gene_col |
column name from where to extract gene names.
Default: |
feat_col |
column name from where to extract CpG feature groups.
Default: |
relat_col |
column name from where
to extract relation to island info.
Default: |
build |
The build for bioMart. Default |
omim |
a boolean, if TRUE will annotate OMIMs as well. Takes a bit longer. Default TRUE. |
The function returns a DataFrame-like object annotated.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.