coerceMatrix {scPCA}R Documentation

Coerce Matrix Objects to Base Matrix Objects

Description

Coerces an object from classes in the Matrix package to the base matrix class.

Usage

coerceMatrix(data)

Arguments

data

The data, usually expected to be a data.frame or matrix, to be coerced to a matrix object if formatted as dgCMatrix or dgeMatrix.

Value

A coerced matrix object.


[Package scPCA version 1.0.0 Index]