more flexible parsing of single cell objects
Usage
parse_loc_object(
input,
type = class(input),
expr_loc = NULL,
meta_loc = NULL,
var_loc = NULL,
cluster_col = NULL,
lookuptable = NULL
)
Arguments
- input
input object
- type
look up predefined slots/loc
- expr_loc
function that extracts expression matrix
- meta_loc
function that extracts metadata
- var_loc
function that extracts variable genes
- cluster_col
column of clustering from metadata
- lookuptable
if not supplied, will use object_loc_lookup() for parsing.