Description Usage Arguments Value
View source: R/extract_counts.R
This is a helper function to extract the counts matrix from different gene expression object classes. It is used by many other functions to enable counts being input as matrices, data.frames, EList or DGEList objects. It determines the class of the object and returns the counts as a data.frame (default) or matrix.
1 | extract_counts(counts, return_class=NULL)
|
counts |
an object from which counts can be extracted. May be of class matrix, data.frame, EList, DGElist, ExpressionSet, eSet. |
return_class |
optional, the class for the object to be returned. Defaults to NULL, which causes the counts portion of the object to be returned as-is. |
A matrix or data frame.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.