Skip to content

Commit

Permalink
Add Bonferroni p-value adjustment
Browse files Browse the repository at this point in the history
  • Loading branch information
tischi committed Mar 14, 2019
1 parent ba622c6 commit 12134a1
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions functions.r
Original file line number Diff line number Diff line change
Expand Up @@ -652,14 +652,16 @@ applyQC <- function(df, dfQC){


#####################################################
################ From Tischi (below) ################
################ From HTM-Explorer (below) ##########
#####################################################

#
# Normalization
#

htmNormalization <- function(data, measurements, col_Experiment, transformation, gradient_correction, normalisation, negcontrol, col_QC, col_Well, col_Treatment, num_WellX, num_WellY) {
htmNormalization <- function(
data, measurements, col_Experiment, transformation, gradient_correction, normalisation,
negcontrol, col_QC, col_Well, col_Treatment, num_WellX = 0, num_WellY = 0) {

echo("*")
echo("* Data normalization")
Expand Down Expand Up @@ -1140,6 +1142,7 @@ htmTreatmentSummary <- function(data, measurements, col_Experiment, col_Treatmen

t_test__estimate = rep(NA,numEntries),
t_test__p_value = rep(NA,numEntries),
t_test__p_value_adjusted = rep(NA,numEntries),
t_test__signCode = rep(NA,numEntries),


Expand Down

0 comments on commit 12134a1

Please sign in to comment.