resolveAmbiguousProteinNames {TPP2D} | R Documentation |
Resolve ambiguous protein names
resolveAmbiguousProteinNames(df, includeIsoforms = FALSE)
df |
tidy data_frame retrieved after import of a 2D-TPP dataset |
includeIsoforms |
logical indicating whether protein isoform should be kept for analysis |
data frame with resolved protein name ambiguity
tst_df <- bind_rows(tibble(representative = rep(1:3, each = 3), clustername = rep(letters[1:3], each = 3)), tibble(representative = rep(c(4, 5), c(3, 2)), clustername = rep(c("a", "b"), c(3, 2)))) resolveAmbiguousProteinNames(tst_df)