CategoryTable | R Documentation |
Returns a dataframe of the frequency or percentage of levels of category.2 (column) for object split by each level of category.1 (row)
CategoryTable(object, category.1, category.2, percentage = FALSE)
object |
a Seurat object |
category.1 |
a metadata field in the object |
category.2 |
another metadata field in the object |
percentage |
if TRUE, returns percentages; otherwise, counts |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.