sparsify2 {diffuStats} | R Documentation

## Sparsify arma::mat into arma::sp_mat

### Description

Return permutations as a numeric sparse matrix (can be binary or continuous)

### Usage

    sparsify2(perm, nrow, G)

### Arguments

`perm` | dense matrix with the permutations
`nrow` | number of rows for the sparse matrix
`G` | sparse column matrix

### Value

an arma::sp_mat object

[Package diffuStats version 0.104.0 Index]