plot_sample_tree {CEMiTool} | R Documentation |
Creates a dendrogram showing the similarities between samples in the expression data.
plot_sample_tree(cem, ...) ## S4 method for signature 'CEMiTool' plot_sample_tree(cem, col_vector = NULL, sample_name_column = NULL, class_column = NULL, filtered = FALSE)
cem |
Object of class |
... |
Optional parameters. |
col_vector |
A vector of columns to use for visualizing the clustering. See Details. |
sample_name_column |
A string specifying the column to be used as sample identification. For CEMiTool objects, this will be the string specified in the sample_name_column slot. |
class_column |
A string specifying the column to be used as sample group identification. For CEMiTool objects, this will be the string specified in the class_column slot. |
filtered |
Logical. Whether or not to use filtered data for CEMiTool objects (Default: FALSE). |
Object of class CEMiTool
with dendrogram or a plot object.
# Get example CEMiTool object data(cem) # Plot sample dendrogram cem <- plot_sample_tree(cem) # Check resulting plot show_plot(cem, "sample_tree")