Description Usage Arguments Details Value Author(s) See Also Examples
View source: R/plotAssociationH.R
This function returns three plots showing the association among different sample subclasses found by DECO and any sample information of interest. This information can be the initial classes or any new included sample information.
1 | plotAssociationH(deco, info.sample)
|
deco |
a "deco" R object generated by 'decoNSCA' R function. |
info.sample |
a character vector or factor including the sample information. |
This function provides a simple comparison of any phenotype characteristic and new DECO subclasses.
Violin plot: distribution of average h-statistic values (per feature) within the newly provided categories of samples, splitting by the subsets of features associated to each DECO subclass.
Left-heatmap: frequency table of samples among DECO subclasses and newly provided sample categories. Right-heatmap: frequency table of features among DECO subclasses and newly provided sample categories.
Francisco Jose Campos Laborie. <fjcamlab@gmail.com>
1 2 3 4 5 6 7 8 9 10 11 | #### Further information in DECO vignette(s).
## Run after decoRDA and decoNSCA steps on 'ALCLdata'
data(ALCLdata)
ALCL
### Sample source information
info.sample <- as.data.frame(colData(ALCL))[,"Sample.origin"]
names(info.sample) <- rownames(colData(ALCL))
#### Comparing DECO subclasses against source of samples.
plotAssociationH(deco.results.ma, info.sample)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.