R/find.probe.col.R

Defines functions find.probe.col

find.probe.col <-
function(ex.ds.probes,probe.map)

{
   k <- dim(probe.map)[2]
   n.mtch <- rep(0,k)
   for (i in 1:k) n.mtch[i] <- sum(is.element(probe.map[,i],ex.ds.probes))
   return(min((1:k)[n.mtch==max(n.mtch)]))
}

Try the AGDEX package in your browser

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

AGDEX documentation built on Nov. 8, 2020, 8:32 p.m.