Description Usage Arguments Value Examples
View source: R/getBestFeatureParameters.R
Plot the result of a grid search depending on a specified parameter.
1 2 3 4 | plotIdFDRspace(grid_search_stats, best_parameters, level = "complex",
id_level = "TP", FDR_cutoff = 0.1,
colour_parameter = "min_feature_completeness", PDF = TRUE,
name = "ID_FDR_plot.pdf")
|
grid_search_stats |
Table of grid search statistics
(obtained from |
best_parameters |
data.table with one row containing the selected parameter set. |
level |
Character string, either 'complex' or 'protein'. Specifies which feature finding was performed. Defaults to 'complex'. |
id_level |
Character string, either 'TP' or 'P'. Plot with true-positive numbers or all positives as y axis. Defaults to 'TP' |
FDR_cutoff |
Numeric, the cutoff for the FDR (indicated by a vertical line in the plot).
Defaults to |
colour_parameter |
Character string, Which parameter to color. Defaults to 'completeness_cutoff' |
PDF |
Logical, wether to save the plot as a PDF file in working directory.
Defaults to |
name |
Character string, filename of the PDF output. |
Either a plot to the R console or a PDF file in the working directory.
1 2 3 4 5 | ## NOT RUN
gridStats # see function \code{\link{estimateGridSearchDecoyFDR}} to see how to generate this object.
## Plot the result of the grid search depending on the within feature correlation
plotIdFDRspace(gridStats, PDF = F, colour_parameter = "min_peak_corr")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.