scW.p.modulefrac: Plots a barplot with the fraction of the expressed and...

View source: R/plotting.R

scW.p.modulefracR Documentation

Plots a barplot with the fraction of the expressed and orthologous genes for each module of a scWGCNA comparison.

Description

This function will plot a barplot showing what's the fraction of genes in each module that is (if its the case) present in the provided 1-2-1 orthologues table, and the genes that are expressed in all test samples, and therefore used for the comparison.

Usage

scW.p.modulefrac(scWGCNA.comp.data)

Arguments

scWGCNA.comp.data

scWGCNA comparative data as calculated by scWGNA.compare().

Value

A ggplot barplot

Examples


# A pre-calculated list scWGCNA comparative data, calculated with scWGCNA.compare
class(MmvGg.comparative)

# Plot the fraction of genes used for the comparison.
scW.p.modulefrac(MmvGg.comparative)

CFeregrino/scWGCNA documentation built on Nov. 21, 2022, 2:31 a.m.