get_mat | R Documentation |
Title the function data 2 matrix
get_mat(df, ...)
df |
the the input must be a data.frame, tibble or matrix |
... |
inhert parameter |
a matrix
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.