matrix_load | R Documentation |
This function is only for checking how the normalization matrix will be loaded internally.
matrix_load(path = NULL, myFileEncoding = "UTF-8")
path |
Character string; path to the replacement matrix (a CSV file). If argument is left open, the default replacement matrix of the package will be returned. |
myFileEncoding |
Character string; encoding of the file. |
Data.frame
library(act)
# An example replacement matrix comes with the package.
path <- system.file("extdata", "normalization", "normalizationMatrix.csv", package="act")
# Load the matrix
mymatrix <- act::matrix_load(path)
# Have a look at the matrix
colnames(mymatrix)
mymatrix
#the original path of the matrix is stored in the attributes
attr(mymatrix, 'path')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.