Description Usage Arguments Value
View source: R/paper_functions.R
cnTools: annotate GRanges segments
1 2 3 4 5 6 7 | annotateSegments(
cn.data,
genes,
out.key = "SYMBOL",
mart = NULL,
use.mart = FALSE
)
|
cn.data |
[Data.frame]: A dataframe that can be converted to GRanges object easily, or a granges object |
genes |
[GRanges]: A GRanges object of genes with gene_ids housing annotation data. Easiest as the output from getGenes() |
out.key |
Gene out.key, default is SYMBOL |
mart |
[object]: A biomart object if you want to annotate missed genes with ensembl |
use.mart |
[boolean]: If no mart is given, it will load in a biomart object |
Annotated GRanges object with gene ids for the input GRanges
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.