| read.sampleinfo {sampleInfo} |
R Documentation |
Read the sampleinfo data table from a given csv file
Description
Usage
read.sampleinfo(file,
tsv = FALSE,
exclude.groups = NULL,
id.makenames = FALSE);
Arguments
file
the file path of the sample information table file. [as string]
tsv
is the target table file a TSV format table file? by default is FALSE means that the target table file is a CSV format table file. [as boolean]
exclude.groups
a character vector of the sample group label for exclude from the loaded sample information data. [as string]
id.makenames
rename the sample id via the generic make names function? this parameter is helpful for make the sample id as a valid R# symbol name. [as boolean]
Details
Authors
phenotype_kit
Value
a vector of the SampleInfo object that is loaded from the given table file.
NOTE: the first column of the table file will be used as the ID property of the generated sample information data, and the sample data rows that the ID or the sample_info data is empty will be removed automatically with a warning message.
clr value class
Examples
[Package
sampleInfo version 1.0.0.0
Index]