matfix {cellmigRation} | R Documentation |
Convert any matrix-lie object to a numeric Matrix, and coerces all the elements to integer. Row names and column names are removed.
matfix(x)
x |
matrix or data.frame including numeric data (or data that can be coerced to integer) |
numeric matrix with all its elements coerced to integer
Damiano Fantini, damiano.fantini@gmail.com
https://www.data-pulse.com/dev_site/cellmigration/
tmp <- data.frame(A = c(1,2,3,4), B=c(3.1, 2.8, 3.3, 9.1), C = FALSE) cellmigRation:::matfix(tmp)