mcell_coclust_filt_by_k_deg: Return a filter (boolean vector) selecting only coclust edges...

View source: R/coclust.r

mcell_coclust_filt_by_k_degR Documentation

Return a filter (boolean vector) selecting only coclust edges that are nearly as frequent as a user defined K-nn parameter

Description

Return a filter (boolean vector) selecting only coclust edges that are nearly as frequent as a user defined K-nn parameter

Usage

mcell_coclust_filt_by_k_deg(coc_id, K, alpha)

Arguments

coc_id

coclust object id

K

the number of top-coclustering neighbors to consider per node

alpha

the relexation paramter to apply for filtering coclustering neighbors below the ttop K ones. A pair (n1,n2) with weight w will be filtered if knn(n1,K) > w*alpha or knn(n2,K) > w*alpha


tanaylab/metacell documentation built on Oct. 19, 2023, 1:01 p.m.