mark.genes | R Documentation |
Produces a named list with gene name and bin.id to use in ComplexHeatmap::anno_mark
mark.genes(cnr, gene.list, identifier = "hgnc.symbol")
cnr |
the cnr bundle |
gene.list |
the list of genes you wish to mark |
identifier |
name of the column with gene identifiers |
returns a vector of named gene.list (gg) w/their rownames/bin.id
data(cnr) aa <- mark.genes(cnr, gene.list = c("CDK4", "MDM2")) ## Not run: geneAnno <- ComplexHeatmap::rowAnnotation(genes = anno_mark(at = aa, labels = names(aa))) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.