log_transform_count: Applying log transform on a matrix of gene counts

View source: R/log_transform.R

log_transform_countR Documentation

Applying log transform on a matrix of gene counts

Description

Applying log transform on a matrix of gene counts

Usage

log_transform_count(count_matrix, transform = "log_replace_half_min")

Arguments

count_matrix

A matrix of gene counts (possibly transformed). rows are genes, columns are individuals

transform

One of the transformations log_replace_half_min, log_add_min, log_add_0.5

Value

A matrix of gene counts after transformation

Examples

data(rnaseq_count_matrix)
rnaseq_count_matrix<- rnaseq_count_matrix[rowSums(rnaseq_count_matrix)>0,]
log_transform_count(count_matrix=rnaseq_count_matrix, transform = "log_replace_half_min")

nkurniansyah/Olivia documentation built on July 29, 2023, 9:10 a.m.