feature_selection {IrisSpatialFeatures}R Documentation

Function to extract all numeric features

Description

Function to extract all numeric features

Usage

feature_selection(dat, lab)

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

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)


[Package IrisSpatialFeatures version 1.3.0 Index]