Take data frame input and calculate the maximum value in each column or row.

protein_promax(data, margin = 2)

Arguments

data

Data frame of numeric values for which to calculate maximum.

margin

Numeric 1 for row 2 for column.