R/gset_clust.r
mcell_gset_split_by_dsmat.Rd
split gene set into several modules using clustering of genes by correlation over cells downsampled umi vector
mcell_gset_split_by_dsmat(gset_id, mat_id, K, force = F)
current gene set object. Only the list of genes will be used
scRNA matrix to use. We assume genes in the set are represented in the matrix, but if force is T we allow filtering of genes by represented matrix entry in addtion to clsutering
how many gene modules to generate (cutree parameter)
if this is T, we allow clustering usign matrix in which not all genes are represnted. This will override the existing gset will a subset of the genes!
scm_k_nonz_exp - to define transformation of UMIs