R/idStochastic.R

Defines functions idStochastic

Documented in idStochastic

idStochastic <- function(bpMat, bpGraph=FALSE, pThresh=0.01,
                         pLevels = 1e-4, prob=0.5){

    if(bpGraph)
      bpMat <- as(bpMat, "matrix")

    f <- assessSymmetry(bpMat, bpGraph = bpGraph, pLevels = pLevels, prob=prob)
    sel <- (f$p>pThresh)
    return(names(sel)[sel])
    
}

  

Try the ppiStats package in your browser

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

ppiStats documentation built on Nov. 8, 2020, 8:18 p.m.