TMT_top_n: Average top_n

TMT_top_nR Documentation

Average top_n

Description

TMT_wt_mean calculates the weighted mean of log2FC and intensity. Note the difference to aggrTopn, which uses sum statistics.

Usage

TMT_top_n(df, id, ...)

Arguments

df

A data frame of log2FC and intensity.

id

The variable to summarize log2FC.

...

Additional arguments for mean.

Examples

df_num <- TMT_top_n(df, prot_acc, na.rm = TRUE)

qzhang503/proteoQ documentation built on Dec. 14, 2024, 12:27 p.m.