Filter genes in sigs according to reference

filter_sigs(sigs, ref, conserved = 0.7)

Arguments

sigs

a character vector of genes or list of character vectors to filter

ref

reference genes to filter sigs according to

conserved

the minimum allowed fraction of genes retained after filtering. Default: 0.7

Value

a filtered list of sigs. Returns NULL if no genes in any sigs are left. sigs with less than <conserved> fraction of genes retained will be removed. Returns input <sigs> if no genes are missing.