Loads 'matrix.mtx' and 'genes.txt' files from a directory.
CID.LoadData(data.dir, mfn = "matrix.mtx")
data.dir | Directory containing matrix.mtx and genes.txt. |
---|---|
mfn | file name; default is 'matrix.mtx' |
A sparse matrix with rownames equivalent to the names in genes.txt
if (FALSE) { # Loads data from SPRING # dir is your path to the "categorical_coloring_data.json" file dir = "./FullDataset_v1" # load expression data E = CID.LoadData(data.dir = dir) }