Description Usage Arguments Value Note
helper function to filter gxs expdata more efficiently than can be done using data.frame tools
1 | filter_gxs_expdata(df, fun = function(x) { max(x) > 0 }, trans = NULL)
|
df |
(tbl_df or data.frame) GxS expression data with a column '_GENE' |
fun |
(function) optional function to be applied to each row (GENE) of expression data returns a boolean value (TRUE: keep, FALSE: discard) |
trans |
(function) optional transformation to apply to expression data AFTER filtering, for convenience |
filtered df (tbl_df) containing filtered and/or transformed GxS expression data
Default behavior with both fun & trans NULL is to transform df to matrix & back This is retained for purposes of performance testing
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.