R/selection.r

Defines functions fs.selection

fs.selection <- function(full.list,
			 cutoff.p=0.05,
			 p.adjust.method="BH"
			 )
  ## select the significant features based on p values
{
    selected.list <- subset(full.list,
			    subset=p.adjust(full.list$pval,
					    method=p.adjust.method) < cutoff.p)
    selected.list
}
snowball-project/DESnowball documentation built on May 30, 2019, 6:03 a.m.