Imputes numeric
values for time-points with an NA
by computing the linear path between missing points
imputeMissingData(data)
data | a |
---|
a imputed data.frame
of numeric
gene expression over time (row = genes x col = ZT times).
na_interpolation
for imputation procedure.
a <- c(10, 12, 14, NA, 18) b <- c(1, 2, NA, NA, 5) data <- t(data.frame(a, b)) imputeMissingData(data)#>#> #>#> [,1] [,2] [,3] [,4] [,5] #> a 10 12 14 16 18 #> b 1 2 3 4 5