dot-estMinimumFC: Estimate Minimum Log2-Based Fold Change

.estMinimumFCR Documentation

Estimate Minimum Log2-Based Fold Change

Description

This function estimates the minimum log2-based fold change from a data frame column.

Usage

.estMinimumFC(df, col = "avg_log2FC")

Arguments

df

A data frame containing the fold change data. Default: df.m.UL.

col

A character string specifying the column name containing log2 fold change values. Default: "avg_log2FC".

Value

The minimum log2-based fold change, rounded and transformed from log2 to linear scale.

The minimum log2-based fold change, rounded and transformed from log2 to linear scale.

Examples

## Not run: 
df <- data.frame(avg_log2FC = c(-1, -0.5, 0.5, 1))
.estMinimumFC(df, "avg_log2FC")
# .estMinimumFC(df = df.m.UL, col = "avg_log2FC")

## End(Not run)

vertesy/Seurat.utils documentation built on Dec. 4, 2024, 5:20 p.m.