as_matrix {bayNorm} | R Documentation

## Rcpp version's as.matrix

### Description

Transform sparse matrix to matrix.

### Usage

    as_matrix(mat)

### Arguments

`mat` | Sparse matrix.

### Value

Matrix.

### Examples

    aa<-matrix(seq(1,6),nrow=2,ncol=3)
    qq<-as(as.matrix(aa), "dgCMatrix")
    all.equal(unname(as_matrix(qq)),unname(as.matrix(qq)))

[Package bayNorm version 1.10.0 Index]