Description Usage Arguments Details Value Author(s)
View source: R/HLP_filterGeneLists.R
Gene list are filtered for selected columns considering desired direction and/or transformation.
1 2 3 4 5 6 7 8 9 10 11 12 |
genes |
dataframe or character with path directing to table with genelist and columns to filter for. |
newheader |
NULL if |
filtercat1 |
column name of first category to filter |
filtercat1.decreasing |
(boolean): direction to order and filter |
filtercat1.function |
select transforming function for |
filtercat1.threshold |
Threshold for |
filtercat2 |
column name of second category to filter |
filtercat2.decreasing |
(boolean): direction to order and filter |
filtercat2.function |
select transforming function for |
filtercat2.threshold |
Threshold for |
The function filters a dataframe or a character directing to dataframe for up to two categories (e.g. p-value and foldchange).
Columns for filter criteria must be included in the input dataframe genes
.
Values in filter criteria may be transformed e.g. to absolute values by filtercat.function = abs
,
which is needed for log foldchanges. No tranformation if filtercat.function = identity
.
dataframe filtered for desired criteria and sorted for filtercat1
(if not Null).
Frank Ruehle
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.