Description Usage Arguments Value Examples
View source: R/featureFDRestimation.R
Estimate FDR statistics based on a decoy model after feature finding.
1 2 | estimateDecoyFDR(features, FFT = 1, grid_search_params = NULL,
verbose = TRUE)
|
features |
data.table containing filtered complex feature results. |
FFT |
Numeric, fraction of false targets. Only useful in special cases, should not
be altered in a generic workflow. Defaults to |
grid_search_params |
Character vector of columns to report with the statistics for the dataset.
Usually only useful for a grid search. Otherwhise the default should not be altered.
Default = |
verbose |
Logical, wether to print messages. Default = |
List with stats
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | #-----------------------------
## Complex Features
#-----------------------------
## Load example data
complexFeatures <- exampleComplexFeatures
## Filter feature table
complexFeaturesFiltered <- filterFeatures(complexFeatures,
min_peak_corr= 0.5,
min_feature_completeness= 0.5)
## estimate the FDR
estimateDecoyFDR(complexFeaturesFiltered)
#-----------------------------
## Protein Features
#-----------------------------
## Load example data
proteinFeatures <-exampleProteinFeatures
## Filter feature table
proteinFeaturesFiltered <- filterFeatures(proteinFeatures,
min_peak_corr= 0.5,
min_feature_completeness= 0.5)
## estimate the FDR
estimateDecoyFDR(proteinFeaturesFiltered)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.