recon_loss: Reconstruction Loss

View source: R/basics.R

recon_lossR Documentation

Reconstruction Loss

Description

functionality for returning reconstruction loss for any dimension reduction algorithm. Please make sure that the the order of your rows and columns are the same!

Usage

recon_loss(X, X_r)

Arguments

X

original matrix n x m matrix

X_r

low-dimensional reconstructed n x m matrix

Value

a list of reconstruction loss, labeled with cellnames


Jerby-Lab/opipes documentation built on Oct. 7, 2022, 12:28 p.m.