View source: R/log_transform.R
log_replace_half_min | R Documentation |
Type of log transform, replacing zero with minimum value for a gene divided by 2
log_replace_half_min(count_matrix)
count_matrix |
A matrix of gene counts (possibly transformed). rows are genes, columns are individuals |
A matrix of gene counts after transformation
data(rnaseq_count_matrix)
rnaseq_count_matrix<- rnaseq_count_matrix[rowSums(rnaseq_count_matrix)>0,]
log_replace_half_min(count_matrix=rnaseq_count_matrix)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.