View source: R/02_Romics_Base_Functions.R
romicsChangeFactor | R Documentation |
Change the main factor of the romics_object
romicsChangeFactor(romics_object, main_factor = "none")
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(). |
changes the main_factor of an romics_object and updates the colors to this new factor.
This function returns a modified romics object, please see the create_romics_object() documentation.
Geremy Clair
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.