feature_selection: Function to extract all numeric features

Description Usage Arguments Value Examples

View source: R/feature.selection.R

Description

Function to extract all numeric features

Usage

1

Arguments

dat

A data matrix with features as rows and samples as columns

lab

Label annotation that contains 2 classes, which corresponds to the samples in the column

Value

t-test and wilcox test btween the 2 classes

Examples

1
2
3
4
dat <- cbind(matrix(runif(400),ncol=10),matrix(runif(400)+0.2,ncol=10))
lab <- c(rep('classA',10),rep('classB',10))
rownames(dat) <- paste0('F',1:nrow(dat))
feature_selection(dat,lab)

IrisSpatialFeatures documentation built on May 2, 2018, 2:49 a.m.