Learn R Programming

SignacX (version 2.2.5)

CID.LoadData: Load data file from directory

Description

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

Usage

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

Run this code
# 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)
# }

Run the code above in your browser using DataLab