Description Usage Arguments Value
View source: R/prep_count_matrix.R
Prepares an integer count matrix from a data frame of normalized counts so the data may be used by functions requiring matrix inputs.
1 | prep_count_matrix(data, group_1, group_2, gene_column)
|
data |
A data frame of normalized count data (can contain negative values). |
group_1 |
A character vector naming the columns that belong to group 1. |
group_2 |
A character vector naming the columns that belong to group 2. |
gene_column |
A character string naming the column containing gene names. |
A matrix of integer counts with any negative values set to zero - rownames equal gene names.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.