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/ttBulk documentation built on Dec. 14, 2024, 6:12 a.m.