extractCoords: Extract coordinates from fitted object

View source: R/extractCoords.R

extractCoordsR Documentation

Extract coordinates from fitted object

Description

Extract coordinates from fitted object

Usage

extractCoords(modelObj, Dim)

Arguments

modelObj

The fitted model

Dim

the required dimensions

Value

A list with components (matrices with two columns)

latentData

The latent variables

featureData

The feature parameters

varData

The variables

Examples

data(Zhang)
## Not run: 
#Unconstrained
microMetaboInt = combi(
list("microbiome" = zhangMicrobio, "metabolomics" = zhangMetabo),
distributions = c("quasi", "gaussian"), compositional = c(TRUE, FALSE),
logTransformGaussian = FALSE, verbose = TRUE)

## End(Not run)
    #Load the fits
load(system.file("extdata", "zhangFits.RData", package = "combi"))
extractCoords(microMetaboInt, Dim = c(1,2))

CenterForStatistics-UGent/compIntegrate documentation built on Aug. 4, 2023, 1:08 p.m.