select_best_vs_worst {peptoolkit}R Documentation

Select Best vs Worst Peptides

Description

This function identifies the peptides from the function *appearance_to_binary* that are 1 in one group and 0 or -1 in another group, and expands the grid to all possible combinations.

Usage

select_best_vs_worst(appearance_best, appearance_worst)

Arguments

appearance_best

A matrix with transformed counts for the 'best' group.

appearance_worst

A matrix with transformed counts for the 'worst' group.

Value

A data frame with combinations of 'best' peptides.

Examples

# Generate some mock data
appearance_best <- matrix(c(1, -1, 0, 1, -1), nrow = 5, ncol = 4)
appearance_worst <- matrix(c(-1, 1, 0, -1, 1), nrow = 5, ncol = 4)
# Call the function
select_best_vs_worst(appearance_best, appearance_worst)

[Package peptoolkit version 0.0.1 Index]