remove_batcheffect: Perform batch effect correction

Description Usage Arguments Value Examples

Description

remove_batcheffect performs batch correction given the second serie of batches and a vector indicating the sample names.

Usage

1
2
3
4
5
remove_batcheffect(
  aggregated_peptides,
  batch2 = c("A", "A", "A", "B", "B", "B", "C", "C", "C"),
  sample_names = c("hour18", "hour4", "mock")
)

Arguments

aggregated_peptides

Dataframe output from agregate_singlepeptides

batch2

Character, indicates the corrected series of batches

sample_names

Character(1), indicates sample names

Value

dataframe correted with removeBatchEffect

Examples

1
2
3
if(interactive()){
aggregatedWCL_batch<-remove_batcheffect(aggregatedWCL,batch2)
}

demar01/RIC documentation built on Feb. 10, 2021, 5:25 p.m.