Read expression data
readExprData.Rd
Read a nested list of expression data inputs in order to generate a list of giotto-native exprObj
Usage
readExprData(
data_list,
sparse = TRUE,
cores = determine_cores(),
default_feat_type = NULL,
verbose = TRUE,
provenance = NULL,
expression_matrix_class = c("dgCMatrix", "DelayedArray")
)
Arguments
- data_list
(nested) list of expression input data
- sparse
(boolean, default = TRUE) read matrix data in a sparse manner
- cores
number of cores to use
- default_feat_type
(optional) default feat_type to use
- verbose
be verbose
- provenance
(optional) provenance information
- expression_matrix_class
class of expression matrix to use (e.g. 'dgCMatrix', 'DelayedArray')
Details
mylistA = list('a' = matrix(1:5), 'b' = matrix(1:5)) depth(mylistA)
mylistB = list(A = list('a' = matrix(1:5), 'b' = matrix(1:5)), B = list('c' = matrix(1:5),'d' = matrix(1:5))) depth(mylistB)
mylistC = list('RNA' = list('RAW' = list('cell' = matrix(1:5), 'nucleus' = matrix(6:10)), 'NORM' = list('cell' = matrix(11:15),'nucleus' = matrix(20:25))), 'PROT' = list('RAW' = list('cell' = matrix(16:20)))) depth(mylistC)
mymatD = matrix(data = 1:4)