romicsSd: romicsSd()

View source: R/09_Statistics.R

romicsSdR Documentation

romicsSd()

Description

Calculates the standard deviation of each variable within each level of the selected factor and add the generated columns in the statistics layer of the romics_object.

Usage

romicsSd(romics_object, factor = "main")

Arguments

romics_object

A object created using the function romicsCreateObject().

main_factor

Either 'main' OR any factor from the romics_object, the list of factors from an romics object can be obtained using the function romicsFactorNames().

Details

Adds the sd columns to the statistics layer. enable to choose a different factor than the main one to do those calculation

Value

This function returns a modified romics object, containing sd columns in the statistics layer.

Author(s)

Geremy Clair


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