romicsChangeFactor: romicsChangeFactor()

View source: R/02_Romics_Base_Functions.R

romicsChangeFactorR Documentation

romicsChangeFactor()

Description

Change the main factor of the romics_object

Usage

romicsChangeFactor(romics_object, main_factor = "none")

Arguments

romics_object

A object created using the function romicsCreateObject().

main_factor

Either 'none' OR a factor from the romics_object (corresponding to a row from the original metadata file), the list of factors from an romics object can be obtained using the function romicsFactorNames().

Details

changes the main_factor of an romics_object and updates the colors to this new factor.

Value

This function returns a modified romics object, please see the create_romics_object() documentation.

Author(s)

Geremy Clair


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