extractCoords: Extract coordinates from fitted object

Description Usage Arguments Value Examples

View source: R/extractCoords.R

Description

Extract coordinates from fitted object

Usage

1
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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
data(Zhang)

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

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

combi documentation built on Nov. 8, 2020, 5:34 p.m.

Related to extractCoords in combi...