Description Usage Arguments Value Examples
The msc.heatmap function generates a heatmap of the input cluster matrix that summarizes the presence or absence of Minicircle Cluster Sequences (MCSs) between groups of samples.
1 | msc.heatmap(clustmatrix, samples, groups)
|
clustmatrix |
one cluster matrix generated with the msc.matrix function. |
samples |
a vector containing the sample names. This can include all samples or it can be a subset. |
groups |
a vector specifying to which groups (e.g. species) the samples belong to. |
a heatmap
1 2 3 4 5 6 7 8 9 10 11 12 13 | data(exData)
data(matrices)
### run function
msc.heatmap(matrices[["id80"]], groups = exData$species,
samples = exData$samples )
### run function on every cluster matrix with subset of samples
### you will be asked to confirm
table(exData$species)
hybrid <- which(exData$species=="hybrid")
# msc.heatmap(matrices[["id97"]], groups = exData$species[hybrid],
# samples = exData$samples[hybrid])
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.