Description Usage Arguments Details Value Examples
A ggplot line plot showing the influences
1 2 3 4 |
modelObj |
The fitted data integration |
plotType |
The type of plot requested, see details |
pointFun |
The function to calculate the summary measure to be plotted |
lineSize |
The line size |
Dim |
The dimension required |
samples |
index vector of which samples to be plotted |
... |
additional arguments passed on to the influence() function |
The options for plotType are: "pointPlot": Dot plot of total influence per view and sample, "boxplot": plot boxplot of influence of all observations per view and sample, "boxplotSingle": boxplot of log absolute total influence per view, "lineplot": line plot of total influence per view and sample. In the pointplot, dots crosses represent parameter estimates
A ggplot object
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | data(Zhang)
#Unconstrained
microMetaboInt = combi(
list("microbiome" = zhangMicrobio, "metabolomics" = zhangMetabo),
distributions = c("quasi", "gaussian"), compositional = c(TRUE, FALSE),
logTransformGaussian = FALSE, verbose = TRUE)
#Constrained
microMetaboIntConstr = combi(
list("microbiome" = zhangMicrobio, "metabolomics" = zhangMetabo),
distributions = c("quasi", "gaussian"), compositional = c(TRUE, FALSE),
logTransformGaussian = FALSE, covariates = zhangMetavars, verbose = TRUE)
load(system.file("extdata", "zhangFits.RData", package = "combi"))
inflPlot(microMetaboInt)
#Constrained
inflPlot(microMetaboIntConstr)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.