Nothing
hits = function(dat.raw, dat.norm, s0="S0", s1="S1", qc.mainplates, qc1.val=0.225, hit.val=3){
# selecting compounds that pass QC1
ind = apply(dat.raw, 1, function(x){ifelse(mean(as.numeric(x[grep(s0, names(x))]), na.rm=TRUE)>qc1.val, x[["ID"]], NA)})
ind = ind[!is.na(ind)]
dataux = dat.norm[!is.element(as.character(dat.norm[["ID"]]), ind),]
IND2 = apply(dataux, 1, function(x){ifelse(mean(as.numeric(x[grep(s1, names(x))]), na.rm=TRUE)>mean(as.numeric(x[grep(s0, names(x))]), na.rm=TRUE), TRUE, FALSE)})
IND3 = apply(dataux, 1, function(x){ifelse(mean(as.numeric(x[grep(s1, names(x))]), na.rm=TRUE)>hit.val, TRUE, FALSE)})
dataux = data.frame(dataux, IND2, IND3)
dataux = dataux[as.character(dataux[["welltype"]])=="Compound",]
dataux = dataux[is.element(as.character(dataux[["MainPlate"]]), as.character(qc.mainplates)),]
dataux = subset(dataux, IND2 & IND3)
return(dataux)
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.