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/FastProjectR documentation built on June 13, 2024, 4:20 p.m.