RomicsCVs: romicsCVs()

romicsCVsR Documentation

romicsCVs()

Description

Calculates the CVs (works properly for non logged romics_objects only) for each level of a metadata factor. This function can also be used to plot the CV boxplot and/or barplot on demand. The CVs are generated in a separate object and won’t be included in the statistics layer.

Usage

romicsCVs(romics_object, factor = "main", plot = "all")

Arguments

romics_object

A romics_object created using romicsCreateObject()

factor

A string indicating a factor from the romics_object. The factors usable for a given romics_object names can be obtain using the function romicsFactorNames(romics_object)

plot

can be either FALSE, 'boxplot', 'barplot', or 'all'

Details

This function will calculate the CVs, the percentage CVs, and on demand will plot the barplot and/or the boxplot of the CVs per sampletype. The CVs are calculated on unlogged romics_object only, if the data was logged transformed, it will be unlogged prior to perform the calculations.

Author(s)

Geremy Clair


PNNL-Comp-Mass-Spec/RomicsProcessor documentation built on March 18, 2023, 5:14 a.m.