Description Usage Arguments Value
This function builds an index from the ivar
argument. Used by
the propr
initialize method and updateF
.
1 | ivar2index(counts, ivar)
|
counts |
A data.frame or matrix. A "count matrix" with subjects as rows and features as columns. Note that this matrix does not necessarily have to contain counts. |
ivar |
A numeric scalar. Specifies reference feature(s) for additive log-ratio transformation. The argument will also accept feature name(s) instead of the index position(s). Set to "iqlr" to use inter-quartile log-ratio transformation. Ignore to use centered log-ratio transformation. |
A numeric vector of indices for the reference set.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.