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

extractMatR 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


CenterForStatistics-UGent/SPsimSeq documentation built on Nov. 21, 2024, 6:30 a.m.