trimHS_maxI | R Documentation |
For N runs, it randomly chooses n
associations and trims the H-S
association matrix to include them, allowing both single and multiple
associations.
trimHS_maxI(N, HS, n, check.unique = TRUE, strat = "sequential", cl = 1)
N |
Number of runs. |
HS |
Host-Symbiont association matrix. |
n |
Number of associations. |
check.unique |
if |
strat |
Flag indicating whether execution is to be |
cl |
Number of cluster to be used for parallel computing.
|
A list of the N trimmed matrices.
data(nuc_cp)
N = 10 #for the example, we recommend 1e+4 value
n = 15
TNC <- trimHS_maxI(N, np_matrix, n, check.unique = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.