Description Usage Arguments Author(s) Examples
View source: R/saveLineByLine.R
Saves rule table as LineByLine txt format that is compatible with VisuNet and Ciruvis framework.
1 | saveLineByLine(rules, path, discrete=FALSE, filterByPval=FALSE, pval=0.05)
|
rules |
A data frame of rule table in a form of rosetta output. |
path |
Path to save the output file. Should contain the name of the file with .txt extension. |
discrete |
Logical. If TRUE data are discrete. If FALSE data are not discrete values. Default FALSE. |
filterByPval |
Logical. If TRUE the filtration is performed. Default is FALSE. |
pval |
A numeric value containing p-value threshold. Default is 0.05. |
Mateusz Garbulowski
1 2 3 4 5 6 7 8 9 10 | library(R.ROSETTA)
out <- rosetta(autcon)
rules <- out$main
# default
saveLineByLine(rules, "outFile.txt")
# filter by p-value
saveLineByLine(rules, "outFile.txt", filterByPval=TRUE, pval=0.01)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.