as_matrix: Get matrix from tibble

as_matrixR Documentation

Get matrix from tibble

Description

Get matrix from tibble

Usage

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

Arguments

tbl

A tibble

rownames

The column name of the input tibble that will become the rownames of the output matrix

do_check

A boolean

Value

A matrix

Examples



tibble(.feature = "CD3G", count=1) |> as_matrix(rownames=.feature)


stemangiola/tidyBulk documentation built on Oct. 22, 2024, 5:19 a.m.