normalizeCount {treediff} | R Documentation |
Normalize count matrix using cyclic loess
Description
This function normalizes the count matrix using loess regression.
Usage
normalizeCount(count_matrice)
Arguments
count_matrice |
The count matrix to normalize. |
Value
- count_matrice
A data.frame of the normalized count matrix.
Examples
nb_row <- 120
chromosome <- rep(1, nb_row)
index1 <- sample(1:100, nb_row, replace = TRUE)
index2 <- sample(1:100, nb_row, replace = TRUE)
m <- data.frame("mat_1" = sample(1:500, nb_row, replace = TRUE),
"mat_2" = sample(1:500, nb_row, replace = TRUE),
"mat_3" = sample(1:500, nb_row, replace = TRUE),
"mat_4" = sample(1:500, nb_row, replace = TRUE))
mat <- cbind(chromosome, index1, index2, m)
normalizeCount(mat)
[Package treediff version 0.2.1 Index]