plotOccupancy: Plot class occupancy distributions

plotOccupancyR Documentation

Plot class occupancy distributions

Description

Plot class occupancy distributions.

Usage

plotOccupancy(x, cls = "class", ...)

## S4 method for signature 'AnalysisData'
plotOccupancy(x, cls = "class")

## S4 method for signature 'Analysis'
plotOccupancy(x, cls = "class", type = "raw")

Arguments

x

S4 object of class AnalysisData or Analysis

cls

sample information column to use for class labels

...

arguments to pass to the appropriate method

type

raw or preTreated data to plot

Examples

library(metaboData)

d <- analysisData(abr1$neg,abr1$fact)

## Plot class occupancy distributions
plotOccupancy(d,cls = 'day')

jasenfinch/metabolyseR documentation built on Sept. 18, 2023, 1:25 a.m.