extractMat: A function with S4 dispatching to extract the count matrix

Description Usage Arguments Value

Description

A function with S4 dispatching to extract the count matrix

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
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


SPsimSeq documentation built on Nov. 8, 2020, 5:09 p.m.