Learn R Programming

BootMRMR (version 0.1)

geneslect.f: Informative gene set selection using F-score

Description

The function returns geneset which is informative for a particular trait/condition using F-score as the gene selection criterion.

Usage

geneslect.f(x, y, s)

Arguments

x
x is a N by p dataframe of gene expression, where, rows represent as genes and columns as samples/subjects (with row names as gene names/ids).
y
y is a p by 1 numeric vector of 1 and -1, where 1/-1 indicates the class label of the samples/subjects either of two classes (e.g. stress and control).
s
s is a numeric constant (< N) representing the number of genes to be selected from the large gene space.

Details

This function identifies the genes/ geneset which is informative for the particular trait/condition using F-score as a criterion.

Examples

Run this code
data(rice_salt)
x=as.data.frame(rice_salt[-1,])
y=as.numeric(rice_salt[1,])
s=20
geneslect.f (x, y, s)

Run the code above in your browser using DataLab