plot_ClussCluster: Plot the results of 'ClussCluster'

Description Usage Arguments Details Examples

Description

If multiple tuning parameters are evaluated in the object, the number of signature genes is plotted against the tuning parameters. If only one is included, then plot_ClussCluster returns a venn diagram and a heatmap at this particular tuning parameter.

Usage

1
plot_ClussCluster(object, m = 10, snames = NULL, gnames = NULL, ...)

Arguments

object

An object that is obtained by applying the ClussCluster function to the data set.

m

The number of top signature genes selected to produce the heatmap.

snames

The names of the cells.

gnames

The names of the genes

Details

Takes the normalized and log transformed number of reads mapped to genes (e.g., log(RPKM+1) or log(TPM+1) where RPKM stands for Reads Per Kilobase of transcript per Million mapped reads and TPM stands for transcripts per million) but NOT centered.

If multiple tuning parameters are evaluated in the object, the number of signature genes is computed for each cluster and is plotted against the tuning parameters. Each color and line type corresponds to a cell type.

If only one tuning parameter is evaluated, two plots will be produced. One is the venn diagram of the cell-type-specific genes, the other is the heatmap of the data with the cells and top m signature genes. See more details in the paper.

Examples

1
2
3
data(Hou)
run.cc <- ClussCluster(Hou$x, nclust = 3, ws = c(2.4, 5, 8.8))
plot_ClussCluster(run.cc, m = 5, snames=Hou$snames, gnames=Hou$gnames)

gabriellajg/ClussCluster documentation built on May 12, 2019, 5:40 a.m.