as_matrix | R Documentation |
Mainly used to convert count tables to matrix for Bioconductor functions that require a matrix as input.
as_matrix(x)
as_tbl(x, var = "id")
x |
a tibble with identifiers in column 1 (assigned as rownames) and numbers in remaining columns |
var |
name of column, default id |
A matrix
as_tbl()
: Convert matrix to tibble
Chris Stubben
x <- top_counts(pasilla$results, pasilla$rlog, top=25)
x
as_matrix(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.