View source: R/3.7_read_metabolon.R
.read_metabolon | R Documentation |
Read metabolon xlsxfile
.read_metabolon(
file,
sheet = "OrigScale",
fidvar = "BIOCHEMICAL",
sidvar = "(CLIENT_IDENTIFIER|Client ID)",
sfile = NULL,
by.x = "sample_id",
by.y = NULL,
groupvar = NULL,
verbose = TRUE
)
read_metabolon(
file,
sheet = "OrigScale",
fidvar = "BIOCHEMICAL",
sidvar = "(CLIENT_IDENTIFIER|Client ID)",
sfile = NULL,
by.x = "sample_id",
by.y = NULL,
groupvar = NULL,
fnamevar = "BIOCHEMICAL",
kegg_pathways = FALSE,
smiles = FALSE,
impute = TRUE,
plot = FALSE,
pca = plot,
pls = plot,
label = "feature_id",
fit = if (plot) "limma" else NULL,
formula = as.formula("~ subgroup"),
block = NULL,
coefs = NULL,
contrasts = NULL,
palette = NULL,
verbose = TRUE
)
file |
metabolon xlsx file |
sheet |
excel sheet (number or string) |
fidvar |
featureid var |
sidvar |
samplid var |
sfile |
sample file |
by.x |
'file' mergeby column |
by.y |
'sfile' mergeby column |
groupvar |
string |
verbose |
TRUE or FALSE |
fnamevar |
featurename fvar |
kegg_pathways |
TRUE or FALSE: add kegg pathways? |
smiles |
TRUE or FALSE: add smiles? |
impute |
TRUE or FALSE: impute group-specific NA values? |
plot |
TRUE or FALSE |
pca |
TRUE or FALSE |
pls |
TRUE or FALSE |
label |
fvar |
fit |
model engine: 'limma', 'lm', 'lme(r)', 'wilcoxon' or NULL |
formula |
model formula |
block |
model blockvar: string or NULL |
coefs |
model coefficients of interest: character vector or NULL |
contrasts |
coefficient contrasts of interest: character vector or NULL |
palette |
NULL or colorvector |
SummarizedExperiment
file <- system.file('extdata/atkin.metabolon.xlsx', package = 'autonomics')
read_metabolon(file, plot = TRUE, block = 'Subject')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.