convert_domain: Transfer data from one input domain to another via common...

View source: R/all_generic.R

convert_domainR Documentation

Transfer data from one input domain to another via common latent space

Description

Convert between data representations in a multiblock decomposition/alignment by projecting the input data onto a common latent space and then reconstructing it in the target domain.

Usage

convert_domain(x, new_data, i, j, comp, rowind, colind, ...)

Arguments

x

The model fit, typically an object of a class that implements a transfer method

new_data

The data to transfer, with the same number of rows as the source data block

i

The index of the source data block

j

The index of the destination data block

comp

A vector of component indices to use in the reconstruction

rowind

Optional set of row indices to transfer (default: all rows)

colind

Optional set of column indices to transfer (default: all columns)

...

Additional arguments passed to the underlying convert_domain method

Value

A matrix or data frame representing the transferred data in the target domain

See Also

project_block for projecting a single block of data onto the subspace


bbuchsbaum/multivarious documentation built on April 15, 2024, 3:33 a.m.