systematicSubset {edgeR} | R Documentation |
Take a systematic subset of indices stratified by a ranking variable.
systematicSubset(n, order.by)
n |
integer giving the size of the subset. |
order.by |
numeric vector of the values by which the indices are ordered. |
systematicSubset
returns a vector of size n
.
Gordon Smyth
y <- rnorm(100, 1, 1) systematicSubset(20, y)