Description Usage Arguments Value
Internal. Given a vector indicating the samples involved (samplesID) and a vector indicating to which group they belong (groupID), this function adds 1 to the positions in connectVector corresponding to pair of samples that belong to the same group. We use this to: 1) update jointOccurrenceVector adding 1 to the positions corresponding to each pair of samples present in the current bootstrap subsample, to indicate that they have the chance to be clustered together later 2) update consensusVector adding 1 to the positions corresponding to pairs of samples that were clustered together
1 | connectivityVector(sampleID, groupID, connectVector, n)
|
sampleID |
vector indicating which are the samples being considered |
groupID |
vector with group indexes. Positions corresponding to pair of samples present in sampleID with the same groupID will be increased in 1. |
connectVector |
Current vector of counts to be updated |
n |
total number of samples |
Updated vector of counts
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.