formatResults {Trendy} | R Documentation |
format data from Trendy which can be saved for later use.
formatResults(topTrendyData, featureNames = NULL)
topTrendyData |
results from topTrendy() function |
featureNames |
an optional vector of features (if only interested in outputting a subset of features/genes). |
The function will reformat the output from Trendy so that it can be easily save as a .txt or .csv file. If featureNames is supplied then only the information for those features/genes is returned.
Rhonda Bacher
data(trendyExampleData) myTrends <- trendy(Data=trendyExampleData[seq_len(2),]) myTrends <- results(myTrends) topTrendyRes <- topTrendy(myTrends) resToSave <- formatResults(topTrendyRes)