Description Usage Arguments Value Author(s) Examples
Plot a heatmap of aneuploidy state for multiple samples. Samples can be clustered and the output can be returned as data.frame.
1 2 | heatmapAneuploidies(hmms, ylabels = NULL, cluster = TRUE,
as.data.frame = FALSE)
|
hmms |
A list of |
ylabels |
A vector with labels for the y-axis. The vector must have the same length as |
cluster |
If |
as.data.frame |
If |
A ggplot
object or a data.frame, depending on option as.data.frame
.
Aaron Taudt
1 2 3 4 5 6 7 8 | ## Get results from a small-cell-lung-cancer
folder <- system.file("extdata", "primary-lung", "hmms", package="AneuFinderData")
files <- list.files(folder, full.names=TRUE)
## Plot the ploidy state per chromosome
heatmapAneuploidies(files, cluster=FALSE)
## Return the ploidy state as data.frame
df <- heatmapAneuploidies(files, cluster=FALSE, as.data.frame=TRUE)
head(df)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.