ProportionPlot: ProportionPlot a bar plot for each subject displaying the...

View source: R/MIXTURE.DEBUG_V0.1.R

ProportionPlotR Documentation

ProportionPlot a bar plot for each subject displaying the cell type proportions

Description

ProportionPlot a bar plot for each subject displaying the cell type proportions

Usage

ProportionPlot(obj, sortBy, subjOrder)

Arguments

obj

a MIXTURE object, see LoadMixtureResultsFromExcel

sortBy

character indicating the cell type used to sort the profiles along the proportion plot (mutually exclusive with subjOrder). It should match one of the cell type names.

subjOrder

an indexing vector to order the subject along the proportion plot (mutually exclusive with sortBy)

Value

it return a ggplot object see vignette for examples

See Also

LoadMixtureResultsFromExcel


elmerfer/MIXTURE documentation built on Aug. 20, 2024, 8:03 p.m.