Filter rare response variables from the data
filterRareCommon(X, lower = lower, higher = higher)
X | is a data.frame with rows as sites or individuals or populations and columns as loci or species OTUs. |
---|---|
lower | is the lower threshold value in which response varialkes are removed from the data.frame. |
higher | is the upper threshold value in which response varialkes are removed from the data.frame. |
This function allows you to remove response units (OTUs or SNPs or species) from your response data as a preprocessing step. Suitable when the response is a binary outcome.