This function filters a dataframe by a specified feature type(s)

filterFeatures(data, feature, which.feature.type)

Arguments

data

data frame

feature

Character indicating which feature (i.e., data.frame column) to consider for filtering

which.feature.type

Character vector indicating which feature types to include. If NULL, all are included.

Value

filtered data frame