plot_sample_tree | 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,
filter = 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. |
filter |
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")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.