compute_iqlr: Compute IQLR (Interquartile Range Log Ratio) Features

View source: R/1a-propr-backend.R

compute_iqlrR Documentation

Compute IQLR (Interquartile Range Log Ratio) Features

Description

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.

Usage

compute_iqlr(counts)

Arguments

counts

A data matrix representing counts. It is assumed that the matrix contains numerical values only.

Value

A numeric vector representing the indices of features selected by IQLR.

Examples

# 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)


tpq/propr documentation built on April 21, 2024, 12:50 p.m.