get_mat: Title the function data 2 matrix

View source: R/get_mat.R

get_matR Documentation

Title the function data 2 matrix

Description

Title the function data 2 matrix

Usage

get_mat(df, ...)

Arguments

df

the the input must be a data.frame, tibble or matrix

...

inhert parameter

Value

a matrix

Examples

test = matrix(rnorm(200), 20, 10)
colnames(test) = paste("Test", 1:10, sep = "")
rownames(test) = paste("Gene", 1:20, sep = "")
df = as.data.frame(test)
str(df)
mat = get_mat(df)
str(mat)

wangjiaxuan666/xbox documentation built on Sept. 4, 2024, 5:03 p.m.