ilog1p: inverse log-scale transform a dense OR sparse matrix

View source: R/Utilities.R

ilog1pR Documentation

inverse log-scale transform a dense OR sparse matrix

Description

This avoids the creation of a dense intermediate matrix when operating on sparse matrices

Usage

ilog1p(spmat)

Arguments

spmat

sparse Matrix

Details

Performs result <- exp(spmat) - 1

Value

logmat sparse Matrix


YosefLab/VISION documentation built on June 14, 2024, 5:27 p.m.