Description Usage Arguments Value Author(s) Examples
View source: R/helperFunctions.R
format data from Trendy which can be saved for later use.
1 | 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
1 2 3 4 5 | data(trendyExampleData)
myTrends <- trendy(Data=trendyExampleData[seq_len(2),])
myTrends <- results(myTrends)
topTrendyRes <- topTrendy(myTrends)
resToSave <- formatResults(topTrendyRes)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.