View source: R/handleTechReps.R
aver_techreps | R Documentation |
This function computes average intensities across technical replicates for each sample.
aver_techreps(raw_df)
raw_df |
A |
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.)
A raw_df
object of averaged intensities.
Chathurani Ranathunge
avearrays
from limma
package.
create_df
## 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.