View source: R/1a-propr-backend.R
compute_iqlr | R Documentation |
This function computes the IQLR features from the input count matrix. The IQLR is based on the log-ratio transformation of the counts, and it selects features with variance values falling within the interquartile range.
compute_iqlr(counts)
counts |
A data matrix representing counts. It is assumed that the matrix contains numerical values only. |
A numeric vector representing the indices of features selected by IQLR.
# Sample input count data
data <- matrix(c(1, 2, 3, 4, 0, 6), nrow = 2, byrow = TRUE)
# Compute IQLR features
iqlr_features <- compute_iqlr(data)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.