Description Usage Arguments Details Value Author(s) References See Also Examples
Plot, draw regression line and confidence interval, and show regression equation, R-square and P-value. The function includes the following models in the latest version: "line2P" (formula as: y=a*x+b), "line3P" (y=a*x^2+b*x+c), "log2P" (y=a*ln(x)+b), "exp2P" (y=a*exp(b*x)),"exp3P" (y=a*exp(b*x)+c), "power2P" (y=a*x^b), "power3P" (y=a*x^b+c), and "S" (y=a/(1+exp((x-b)/c))). Of each correlation pairs the figure who has the highest R-square among these models will be saved in a "pdf" file at working dirctory.
1 | nlfitGramm(X,Y)
|
X |
Metabolome preproccessed data (SummarizedExperiment object). |
Y |
Microbiome preproccessed data (SummarizedExperiment object). |
nothing
A file named "curve fit.pdf" will be created automatically.
Mengci Li, Dandan Liang, Tianlu Chen and Wei Jia
Bates, D. M., and Watts, D. G. (2007) Nonlinear Regression Analysis and its Applications. Wiley.
Greenwell B. M., and Schubert-Kabban, C. M. (2014) investr: An R Package for Inverse Estimation. The R Journal, 6(1), 90-100.
naiveGramm for naive correlation method; preGramm for pretreatment; Gramm: the whole strategy of this method.
1 2 3 | data("metabolites")
data("microbes")
nlfitGramm(metabolites,microbes)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.