| cluster_names {background} | R Documentation |
cluster_names(background, idset);
This function returns only the first matched cluster name when a gene is annotated in multiple clusters, use geneSet.intersects with get_clusterID=TRUE for getting all of the cluster ids of the gene.
a character vector of the cluster name of each input gene id, a NULL value will be returned for the gene id that is not annotated in any cluster.
let kb = read.background("hsa.xml");
print(cluster_names(kb, c("7157", "1956")));