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
}

Try the DESnowball package in your browser

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

DESnowball documentation built on May 1, 2019, 6:34 p.m.