Description Usage Arguments Value Note Author(s) See Also
Loads a named sparese matrix from disk using ".NSMrow.names", ".NSMcol.names" and ".NSMmat.lrn"
1 | ReadNSM(FilenameWithoutExt, InDirectory)
|
FilenameWithoutExt |
Filename without extension |
InDirectory |
Optional: Directory of the file. Defaults to |
A list containing:
matrix |
The sparse matrix read from the disk as dgCMatrix S4 object |
LineKey |
Vector of keys for all rows |
LineHeader |
Vector of strings. Names for all rows |
ColumnKey |
Vector of keys for all colums |
ColumnHeader |
Vector of strings. Names for all columns |
Comments |
String containing comments for the sparse matrix |
Due to restrictions of the lrn format precision losses for floating point numbers can occur. The maximum precision is 13 digits.
Felix Pape
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.