View source: R/load_stellarscope_report.R
load_labeled_mtx | R Documentation |
Sparse matrixes in the MTX format have integer indexes and do not have row or column names included. The labels may be included in separate files. This function takes three input files and returns a labeled sparse matrix. Dimensions of the returned sparse matrix are match the provided row and column names, transposing the matrix if needed.
load_labeled_mtx(mtx_file, rowname_file, colname_file)
mtx_file |
Sparse matrix file in MTX format |
rowname_file |
TSV file with row labels in first column. |
colname_file |
TSV file with column labels in first column. |
A sparse matrix of of class "dgTMatrix" with row and columns labels.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.