R/hotspotFinder.R

Defines functions hotspotFinder

Documented in hotspotFinder

hotspotFinder <-
function(peak,numgene){
	
	
if((dim(peak)[2] != 9) & (dim(peak)[2] !=3 )){
  stop("The peak data.frame need to be 3 or 9 columns.")
}
	   
out2 <- split(peak, peak[,2])
lapply(out2,dim)
out2 <- out2[which(lapply(out2,nrow) >= numgene)]
return(out2)
}

Try the iBMQ package in your browser

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

iBMQ documentation built on Nov. 8, 2020, 11:04 p.m.