Plot the heatmap of the top n inferred markers for each cluster.
PlotTopN_Grid( data, cluster_labels, markers, n_features, y_lsize = ((length(unique(cluster_labels)) * n_features)/120) * 5, y_tsize = ((length(unique(cluster_labels)) * n_features)/120) * 15, x_lsize = ((length(unique(cluster_labels)) * n_features)/120) * 14, x_tsize = ((length(unique(cluster_labels)) * n_features)/120) * 15, use_z = TRUE, spacing = 0.1 )
data | expression data with genes x cells |
---|---|
cluster_labels | a vector of cluster labels corresponding to the columns in the data matrix |
markers | a table of markers |
n_features | the top n features to plot |
y_lsize | y axis label size |
y_tsize | y axis title size |
x_lsize | x axis label size |
x_tsize | x axis title size |
use_z | use z-score per gene instead of raw expression |
spacing | the number of lines between grids |
as heatmap