Description Usage Arguments Value Examples
View source: R/fun-protein-profiles-significance.R
Filter out proteins exceeding a certain fraction of missing data points.
1 | filterFeatures(values, maxNAfraction, verbose=FALSE, plot=FALSE, ...)
|
values |
Numeric matrix containing the data to analyze. |
maxNAfraction |
Numeric threshold specifying the maximum fraction of data points that can be missing (‘NA’) to still keep the protein. |
verbose |
Logical indicating whether to print the number of proteins before and after filtering (default: FALSE). |
plot |
Logical indicationg whether to plot a diagnostic plot showing the distribution of the fraction of missing data points associated with the proteins (default: FALSE). |
... |
Arguments passed to the '‘plot’' method. |
Numeric matrix with the same structure as ‘values’, with elements not matching the filter criteria removed.
1 2 3 | data(ips_sample)
ratios_filtered <- filterFeatures(ratios, 0.2, verbose=TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.