preGramm: Preproccess the metabolome data and microbiome data

Description Usage Arguments Value Author(s) References See Also Examples

View source: R/preGramm.R

Description

Preproccess the input data of metabolome and microbiome. Missing values may be imputed and filled (KNN method). Metabolome data and microbiomedata may be normalized and transformed by logarithm transformation and centered log-ratio (CLR) algorithm.

Usage

1
preGramm(A,B,metaNor = TRUE,rarefaction = FALSE)

Arguments

A

The metabolome data under pretreatment (SummarizedExperiment object).

B

The microbiome data under pretreatment (SummarizedExperiment object).

metaNor

Should metabolome data normalized? Using normalization when your metabolites are qualitative; and no normalization when the metabolites are quantitative. Default:TRUE.

rarefaction

Resample an OTU table such that all samples have the same library size. Here refers to a repeated sampling procedure to assess species richness, first proposed in 1968 by Howard Sanders.(see wikipedia for more detail.) Default:FALSE.

Value

x

Metabolome preprocessed data

y

Microbiome preprocessed data

Author(s)

Mengci Li, Dandan Liang, Tianlu Chen and Wei Jia

References

Gloor, G. B., Macklaim, J. M., Pawlowsky-Glahn, V., Egozcue, J. J., Microbiome Datasets Are Compositional: And This Is Not Optional. Front. Microbiol. 2017, 8 (2224).

See Also

naiveGramm for naive correlation method; nlfitGramm for nonlinear fitting; Gramm: the whole strategy of this method.

Examples

1
2
3
data("metabolites")
data("microbes")
preGramm(metabolites,microbes)

chentianlu/gramm4R documentation built on July 6, 2021, 2:43 p.m.