R/estimateE.R

Defines functions estimateE

.estimateE <- function(meth,unmeth,size_t,size_c,q){
  temp_t <- t(t(meth)/size_t)
  temp_c <- t(t(unmeth)/size_c)
  temp_n <- temp_t+temp_c
  e <- rowSums(temp_n)/length(size_t)/q
}

Try the QNB package in your browser

Any scripts or data that you put into this service are public.

QNB documentation built on Nov. 17, 2017, 8:09 a.m.