as_matrix: Get matrix from tibble

Description Usage Arguments Value Examples

Description

Get matrix from tibble

Usage

1
as_matrix(tbl, rownames = NULL, do_check = TRUE)

Arguments

tbl

A tibble

rownames

A character string of the rownames

do_check

A boolean

Value

A matrix

Examples

1
as_matrix(head(dplyr::select(tidybulk::counts_mini, transcript, count)), rownames=transcript)

tidybulk documentation built on April 7, 2021, 6 p.m.