Description Usage Arguments Value
View source: R/applyFunInPairwiseManner.R
Allows application of any function in pairwise cases manner as long as the inputs to the function can be a subset of inputed data frame and annotation. It creates iterative data frame and annotation cases in pairwise manner and supplements these iterations to the FUN. More parameters to FUN can also be supplied.
1 | applyFunInPairwiseManner(df, anno, FUN, ...)
|
df |
A data frame where columns represent samples |
anno |
Annotation. Make sure row.names(anno) correspond to sample names in the same order as in df and that it has a unique cases colum named "condition" in the first column, i.e. anno[,1]. |
FUN |
The function we want to supply. It takes in a pair-wise compliant subset of original df and anno. |
... |
Ellipsis. Other arguments to be supplied to the FUN. |
A list where elements are outputs of FUN in a pairwise fashion.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.