R/top.count.R

Defines functions top.count

Documented in top.count

top.count <- function(cl) {
memship <- cl[[4]]
gene.num <- dim(memship)[[1]]
count <- integer(length=gene.num)
count[] <- 0
for(i in 1:dim(memship)[[2]]) {
y <- (max(memship[,i]) <= memship[,i])
index <- which(y)
count[index] <- count[index] + 1
}
return(count)
}
 

Try the Mfuzz package in your browser

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

Mfuzz documentation built on Nov. 8, 2020, 5:22 p.m.