decoupler.filt_min_n

decoupler.filt_min_n(c, net, min_n=5)

Removes sources of a net with less than min_n targets.

First it filters target genes in net that are not in mat and then removes sources with less than min_n targets.

Parameters:
cnarray

Column names of mat.

netpd.DataFrame

Network in long format.

min_nint

Minimum of targets per source. If less, sources are removed.

Returns:
netFiltered net.