scW.p.preservation | R Documentation |
This function will plot a dotplot, with the zscore values for global preservation, as well as density and connectivity for each module and each test sample that was compared. Can also plot the median rank.
scW.p.preservation( scWGCNA.comp.data, to.plot = c("preservation", "median.rank"), test.samples = NULL )
scWGCNA.comp.data |
scWGCNA comparative data as calculated by scWGNA.compare(). |
to.plot |
character or character vector. Which aspects of the preservation should be plotted? Options: "preservation", "median.rank", "density", "connectivity". |
test.samples |
character or character vector. Which test samples to plot. Default is all |
Either a single ggplot dotoplot showing the desired aspect of preservation. If several were requested, a gridExtra of the different ggplot dotplots.
# S pre-calculated list scWGCNA comparative data, calculated with scWGCNA.compare class(MmvGg.comparative) # Plot the overall preservation and median rank. scW.p.preservation(scWGCNA.comp.data = MmvGg.comparative, to.plot=c("preservation", "median.rank"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.