mark.genes: Mark genes

View source: R/mark.genes.R

mark.genesR Documentation

Mark genes

Description

Produces a named list with gene name and bin.id to use in ComplexHeatmap::anno_mark

Usage

mark.genes(cnr, gene.list, identifier = "hgnc.symbol")

Arguments

cnr

the cnr bundle

gene.list

the list of genes you wish to mark

identifier

name of the column with gene identifiers

Value

returns a vector of named gene.list (gg) w/their rownames/bin.id

Examples


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)


SingerLab/gac documentation built on Oct. 14, 2022, 4:09 a.m.