cyto_names_parse | R Documentation |
Reward users that use consistent names for files by parsing file names into
new variables and adding them to cyto_details
. Variable construction
may not be perfect if certain files are named differently, but it will give a
starting point for editing these values using cyto_details_edit
without having to manually enter a lot of these details.
cyto_names_parse(x, vars = NULL, split = "_", exclude = NULL, ...)
x |
object of class flowSet or GatingSet. |
vars |
vector containing the names of the variables to be added to
|
split |
delimiter to split the file name into fragments, set to "_" by default. |
exclude |
vector of indices indicating which text fragments should not be included in the experiment details, set to NULL by default. |
... |
additional arguments passed to
|
flowSet or GatingSet with cyto_details
updated with new
variables extracted from the file names.
Dillon Hammill, Dillon.Hammill@anu.edu.au
library(CytoExploreRData) # Parse file names to variables fs <- cyto_names_parse(Activation, vars = c("sample_type", "sample_id"), split = "_") # Updated experiment details cyto_details(fs)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.