R/tValueFun.R

Defines functions tValueFun

tValueFun <-
function(ndx, coeffMissingAllowed = 0.75) {
    notMissing <- apply(!is.na(geData[, ndx]), 1, sum)
    notMissing <- notMissing > floor((length(ndx)-1)^coeffMissingAllowed)
    clusters <- classify(geData[notMissing, ndx])$clusters
    ans <- 0 #variato
    if(min(table(clusters)) > floor(0.1 * nrow(geData)))
      ans <- survdiff(stData[notMissing] ~ clusters)$chisq #variato
    return(ans)
  }

Try the geneSignatureFinder package in your browser

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

geneSignatureFinder documentation built on May 2, 2019, 2:32 p.m.