Skip to contents

Shorthand for filter(...) |> unique() |> droplevels() — the filtering counterpart to select_unique(), used to restrict a pep_all-shaped data frame to one Condition/Sample_type/... before batch-plotting its overlap.

Usage

filter_unique(input, ...)

Arguments

input

A data frame.

...

Filtering conditions, forwarded to dplyr::filter() (tidy evaluation).

Value

input restricted to the matching rows, with duplicate rows removed and unused factor levels dropped.

Examples

if (FALSE) { # \dontrun{
filter_unique(pep_all, Condition == "JY")
} # }