Description Usage Arguments Details Value Examples
Reformats a provided expression matrix to be compatible with NBumi modelling.
1 | convert_to_integer(mat)
|
mat |
a numeric matrix of expression values (ideally raw UMI counts or raw read counts), columns = samples, rows = genes. |
Coerces the provided data to a matrix then rounds all values up (ceiling) to integers and removes all rows where all values are zero.
Rounded, integer matrix of the original data.
1 2 3 | mat <- matrix(rgamma(1000, shape=10, scale=20), ncol=10)
mat_int <- convert_to_integer(mat)
is.integer(mat_int)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.