R/gset.r
gset_get_feat_mat.Rd
extract umi matrix for the genes in the set, possibly donwsampling
gset_get_feat_mat(
gset_id,
mat_id,
downsamp = F,
add_non_dsamp = F,
downsample_n = NA,
gene_names_src_targ = NULL
)
gene set in scdb
mat in scdb
if this is true the returned matrix is downsampled
number of umis for downsampling (if this is NA, the system will pick up the default heuristic)
string pair, defining how to convert gene nmaes from the original matrix to the naming scheme of the returned matrix (NA by default, in which case no conversion will be done)
should cells with fewer umis than the downsampling threshold be added to hte matrix with their raw data