as_matrix {tidybulk} | R Documentation |
Get matrix from tibble
as_matrix(tbl, rownames = NULL, do_check = TRUE)
tbl |
A tibble |
rownames |
A character string of the rownames |
do_check |
A boolean |
A matrix
as_matrix(head(dplyr::select(tidybulk::counts_mini, transcript, count)), rownames=transcript)