Description Usage Arguments Value Examples
Find an annotation's associated gene sets and genes
1 | explore_annotation(annotation, gs_annos, gs_genes, genes = NULL)
|
annotation |
annotation to explore |
gs_annos |
value from |
gs_genes |
value from |
genes |
optional: genes to match, or (default) all |
"names"
vector: gene set names
"genes"
vector: genes
1 2 3 4 5 6 7 8 9 10 11 12 13 | ## Not run:
anno_path <- system.file("extdata", "ex_anno.csv", package = "glacier")
data_path <- system.file("extdata", "ex_data.csv", package = "glacier")
anno <- import_annotations(anno_path, ",", TRUE, c(2, 4), 5)
data <- import_database(data_path, ",", FALSE, c(2, 4), 0)
info <- anno[c("name", "info")]
anno_proc <- process_annotations(anno, info, "file")
data_proc <- process_database(data, "Not assigned", "Not assigned")
anno_assoc <- explore_annotation("Carcinogen", anno_proc$gs_annos,
data_proc$gs_genes)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.