renameSpataObject | R Documentation |
Renames the SPATA2
object.
renameSpataObject(object, sample_name)
object |
An object of class |
sample_name |
Character value. The new sample name. |
Sets slot @sample of all S4 classes within the SPATA2
object
to the new name.
The updated input object, containing the added, removed or computed results.
library(SPATA2)
data("example_data")
object <- example_data$object_UKF269T_diet
object <- renameSpataObject(object, sample_name = "my_new_name")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.