featurePrints {StabPerf}R Documentation

Prints scores along descriptions into a text-file.

Description

Orders the features from feature.scores() and prints the corresponding elements of genenames besides the score.

Usage

featurePrints(file, features, genenames=NULL)

Arguments

file The file to which the text is printed
features The scores and indices as returned by feature.scores
genenames A vector of labels, that are printed beside their scores. Lookup is done by the index from features of the score that is printed. If genenames is a list, its elements are taken as vector that are collapsed to a single label.

Details

Orders the features by their score. Prints the score. Prints a label in the same line as the score: If genenames=NULL the index from features is printed. Otherwise the index is taken to lookup a label in genenames.

See Also

feature.scores, goPlots, featurePlots

Examples

features <- feature.scores(...)
featurePrints("foo.txt", features, data$genenames)

[Package StabPerf version 0.5 Index]