View source: R/PlotChrCluster.R
PlotChrCluster | R Documentation |
The function clusters chromosomes based on the copy number (CN) and returns a graph where it is possible to observe the different groups and two data frames (report and plot_table). See the vignette for the data frame descriptions.
PlotChrCluster(
segs,
clust_method = "ward.D2",
plot_output = TRUE,
plot_viewer = TRUE,
plot_save = FALSE,
plot_format = "png",
plot_path,
verbose = FALSE
)
segs |
data.frame with segments of samples. It must be formatted with correct column names (start, end, ID) |
clust_method |
clustering method. Default is "ward.D2" |
plot_output |
Whether to plot refitted profiles (logical) |
plot_viewer |
Logical parameter. When it is TRUE, the function print the output plot in the R viewer.By default is TRUE. |
plot_save |
Logical parameter. When it is TRUE, the function save the plot in the chosen path and format. By default is TRUE. |
plot_format |
File format for the output plots (accepts "png", "jpg", "pdf", "tiff"). By default is "png" |
plot_path |
Path to save output plots. |
verbose |
print information about the processes of the function. By default is FALSE |
Plot with chromosomes clustered
data(TCGA_BRCA_CN_segments)
Cluster <- PlotChrCluster(segs=TCGA_BRCA_CN_segments,
clust_method= "ward.D2",
plot_output=FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.