aver_techreps {promor}R Documentation

Compute average intensity

Description

This function computes average intensities across technical replicates for each sample.

Usage

aver_techreps(raw_df)

Arguments

raw_df

A raw_df object containing technical replicates.

Details

aver_techreps assumes that column names in the data frame follow the "Group_UniqueSampleID_TechnicalReplicate" notation. (Use head(raw_df) to see the structure of the raw_df object.)

Value

A raw_df object of averaged intensities.

Author(s)

Chathurani Ranathunge

See Also

Examples

## Use a data set containing technical replicates to create a raw_df object
raw_df <- create_df(
prot_groups = "https://raw.githubusercontent.com/caranathunge/promor_example_data/main/pg2.txt",
exp_design = "https://raw.githubusercontent.com/caranathunge/promor_example_data/main/ed2.txt",
tech_reps = TRUE
)

# Compute average intensities across technical replicates.
rawdf_ave <- aver_techreps(raw_df)


[Package promor version 0.2.1 Index]