as_matrix {tidybulk} | R Documentation

## Get matrix from tibble

### Description

Get matrix from tibble

### Usage

    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

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

[Package tidybulk version 0.99.23 Index]