new_DNB: New DNB Object

View source: R/new_DNB.R

new_DNBR Documentation

New DNB Object

Description

Create a DNB object

Usage

new_DNB(data, time, group = NULL)

Arguments

data

a gene expression matrix/data frame with sample as column names and gene as row names.

time

a factor of time points.

group

a factor of 0 and 1 for control and case groups, Default NULL.

Details

Genes with all-zero expression at any time point will be removed.

Value

a DNB object

Examples

dnb <- new(data = gene_expr,
           time = as.factor(sample_info$time),
           group = as.factor(sample_info$group))
dnb

gpli/DNB documentation built on Sept. 21, 2022, 10:57 p.m.