CID.LoadData: Load data file from directory

Description Usage Arguments Value Examples

View source: R/helper_functions.R

Description

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

Usage

1
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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## Not run: 
# 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)

## End(Not run)

SignacX documentation built on July 22, 2021, 9:10 a.m.