log_add_0.5: Log add half

View source: R/log_transform.R

log_add_0.5R Documentation

Log add half

Description

Type of log transform, adding 0.5 into entire gene counts matrix

Usage

log_add_0.5(count_matrix)

Arguments

count_matrix

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

Value

A matrix of gene expression counts after transformation

Examples

data(rnaseq_count_matrix)
rnaseq_count_matrix<- rnaseq_count_matrix[rowSums(rnaseq_count_matrix)>0,]
log_add_0.5(count_matrix=rnaseq_count_matrix)

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