WritesigFeature: Write the features and sample IDs.

Description Usage Arguments Details Value Author(s) References See Also Examples

View source: R/WritesigFeature.R

Description

This function will write the output data produce from the function sigFeatureRanking.enfold.

Usage

1
WritesigFeature(results, x,  fileName="Result")

Arguments

results

the object produce by the function named sigFeatureRanking.enfold

x

n-by-d data matrix to train (n chips/patients, d clones/genes).

fileName

name of the output file.

Details

This function will write the variables.

Value

results output file.

Author(s)

Pijush Das <topijush@gmail.comn>, et al.

References

Becker, N., Werft, W., Toedt, G., Lichter, P. and Benner, A.(2009) PenalizedSVM: a R-package for feature selection SVM classification, Bioinformatics, 25(13),p 1711-1712

See Also

predict.penSVM, svm (in package e1071)

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
#Example for WritesigFeature()
#Data set taken from GSE2280
library(SummarizedExperiment)
data(ExampleRawData, package="sigFeature")

x  <- t(assays(ExampleRawData)$counts)
y  <- colData(ExampleRawData)$sampleLabels


#For 10 fold cross validation.
#results = sigFeature.enfold(x,y,"kfold",10)


#to write the output
#data(results)
#WritesigFeature(results, x)

pijush1285/sigFeature documentation built on Sept. 11, 2021, 1:02 p.m.