Description Usage Arguments Value
View source: R/randomization.R
Sample pairs from the input gene pairs according to given sampling weights.
1 | samplePairsByWeight(gp, weights, n)
|
gp |
a data.frame with gene pairs. Holds names or indices of ranges in an associated GRangs object in the first two columns. |
weights |
numeric vector of same length as rows in |
n |
the number of pairs to sample. |
a data.frame object with sampled gene pairs.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.