imputeMissingData: Imputates Missing Time-Points in Data

Description Usage Arguments Value See Also Examples

View source: R/imputeMissingData.R

Description

Imputes numeric values for time-points with an NA by computing the linear path between missing points

Usage

1

Arguments

data

a data.frame of numeric gene expression over time (row = genes x col = ZT times) with missing values.

Value

a imputed data.frame of numeric gene expression over time (row = genes x col = ZT times).

See Also

na_interpolation for imputation procedure.

Examples

1
2
3
4
a <- c(10, 12, 14, NA, 18)
b <- c(1, 2, NA, NA, 5)
data <- t(data.frame(a, b))
imputeMissingData(data)

nesscoder/TimeCycle documentation built on June 29, 2021, 5:16 a.m.