Description Usage Arguments Details Usage Examples
Methods for exporting Rcade objects, either to disk or in R.
1 | exportRcade(x, directory="RcadeOutput", cutoffMode="top", cutoffArg = 1000, justGeneID=FALSE, removeDuplicates="beforeCutoff")
|
x |
An |
directory |
|
cutoffMode |
|
cutoffArg |
|
justGeneID |
|
removeDuplicates |
|
This function exports Rcade output to disk - specifically, it creates the following files:
File: | ChIP: | DE |
ChIP.csv | Present (needs log ratio > 0) | Ignored |
ChIPonly.csv | Present (needs log ratio > 0) | Absent |
DEandChIP.csv | Present (needs log ratio > 0) | Present |
DownChIP.csv | Present (needs log ratio > 0) | Present (logFC < 0) |
Down.csv | Ignored | Present (logFC < 0) |
DownNoChIP.csv | Absent | Present (logFC < 0) |
Nothing.csv | Absent | Absent |
UpChIP.csv | Present (needs log ratio > 0) | Present (logFC > 0) |
Up.csv | Ignored | Present (logFC > 0) |
UpNoChIP.csv | Absent | Present (logFC > 0) |
Each file contains genes appropriate to its hypothesis, sorted by descending B value (i.e. ranked from most interesting to least interesting). For example, if you wanted the genes that display DE (either up or down) and also have ChIP signal present, you would look at the top rows of DEandChIP.csv. For genes that have a ChIP signal but explicitly show no DE, use ChIPonly.csv.
A cutoff is applied to each list, according to the value of cutoffMode
, referring to cutoffArg
if necessary:
cutoffMode = "all"
cutoff
ignored, all results written to disk.
cutoffMode = "top"
Take the top N genes, where N is specified by cutoffArg
.
cutoffMode = "B"
Take all genes with that satisfy B > cutoffArg
, where B is the log-odds.
cutoffMode = "FDR"
The expected false positive rate, FPR, and the expected false negative rate, FNR, are calculated using B values.
The cutoff chosen is the one that maximizes the value of FPR + cutoffArg*FNR
.
exportRcade(x, directory="RcadeOutput", cutoffMode="top", cutoff = 100, justGeneID=FALSE, removeDuplicates="beforeCutoff", ...)
1 2 | data(RcadeSTAT1)
## Not run: exportRcade(RcadeSTAT1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.