| guess.sample_groups {sampleInfo} |
R Documentation |
try to parse the sampleInfo data from the
Description
sample labels
Usage
guess.sample_groups(sample.names,
maxDepth = FALSE,
raw.list = TRUE);
Arguments
sample.names
a character vector of the sample labels, the sample group information will be guessed from the common tag prefix of these sample labels, example as the sample labels iBAQ-AAA-1, iBAQ-AAA-2, iBAQ-BBB-1 will be grouped as the AAA and BBB. [as Array]
maxDepth
[as boolean]
raw.list
returns the group result as a raw tuple list object(the slot key of the list is the group label and the slot value is a character vector of the sample label)? if this parameter is FALSE, then a vector of the @T:SMRUCC.genomics.GCModeller.Workbench.ExperimentDesigner.SampleInfo. [as boolean]
Details
Authors
phenotype_kit
Value
a tuple list of the guessed sample groups, or a vector of the SampleInfo object when the raw_list parameter is FALSE.
the generated SampleInfo object will be assigned with a default color from the Paper color set, and the shape property is set as circle, the batch property is set as 1 and the injectionOrder property is the index order of the sample in the generated sample collection.
clr value class
Examples
[Package
sampleInfo version 1.0.0.0
Index]