filter_by_prop_names: Keep only properties which are specified

Description Usage Arguments Details Value Examples

View source: R/functions.R

Description

Keep only properties which are specified

Usage

1
filter_by_prop_names(df, keep_prop_names = NULL, remove_prop_names = NULL)

Arguments

df

input data.frame.

keep_prop_names

character vector of models names

remove_prop_names

character vector of models names

Details

The input data.frame has to contain Property column.

Value

data.frame.

Examples

1
2
3
4
file_name <- system.file("extdata", "free-wilson_frag_contributions.txt", package = "rspci")
df <- load_data(file_name)
df1 <- filter_by_prop_names(df, "overall")
df2 <- filter_by_prop_names(df, remove_prop_names = c("overall", "dispersive"))

DrrDom/rspci documentation built on April 27, 2021, 4:26 a.m.