Loads 'matrix.mtx' and 'genes.txt' files from a directory.

CID.LoadData(data.dir, mfn = "matrix.mtx")

Arguments

data.dir

Directory containing matrix.mtx and genes.txt.

mfn

file name; default is 'matrix.mtx'

Value

A sparse matrix with rownames equivalent to the names in genes.txt

Examples

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) }