Description Usage Arguments Value Examples
Apply the given function to every pair in the given datalist. Function either symmetrical (i.e. fun(x,y) == fun(y,x)) or assymmetrical (i.e. fun(x,y) != fun(y,x)).
1 2 3 | apply.symm(.datalist, .fun, ..., .diag = NA, .verbose = T)
apply.asymm(.datalist, .fun, ..., .diag = NA, .verbose = T)
|
.datalist |
List with some data.frames. |
.fun |
Function to apply, which return basic class value. |
... |
Arguments passsed to .fun. |
.diag |
Either NA for NA or something else != NULL for .fun(x,x). |
.verbose |
if T then output a progress bar. |
Matrix with values M[i,j] = fun(datalist[i], datalist[j])
1 2 3 4 5 | ## Not run:
# equivalent to intersectClonesets(immdata, 'a0e')
apply.symm(immdata, intersectClonesets, .type = 'a0e')
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.