log_replace_half_min: Log replace half min

View source: R/log_transform.R

log_replace_half_minR Documentation

Log replace half min

Description

Type of log transform, replacing zero with minimum value for a gene divided by 2

Usage

log_replace_half_min(count_matrix)

Arguments

count_matrix

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

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_replace_half_min(count_matrix=rnaseq_count_matrix)

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