getVarFilterMethod function

Extract variance filtering method