extractMat {SPsimSeq}R Documentation

A function with S4 dispatching to extract the count matrix

Description

A function with S4 dispatching to extract the count matrix

Usage

extractMat(Y, ...)

## S4 method for signature 'SingleCellExperiment'
extractMat(Y, ...)

## S4 method for signature 'matrix'
extractMat(Y, ...)

## S4 method for signature 'data.frame'
extractMat(Y, ...)

## S4 method for signature 'phyloseq'
extractMat(Y, ...)

Arguments

Y

a matrix, data frame, phyloseq object or SingleCellExperiment

...

additional arguments, currently ignored

Value

A data matrix with samples in the columns and genes in the rows


[Package SPsimSeq version 1.0.0 Index]