as.data.frame.dce: Dce to data frame

View source: R/main.R

as.data.frame.dceR Documentation

Dce to data frame

Description

Turn dce object into data frame

Usage

## S3 method for class 'dce'
as.data.frame(x, row.names = NULL, optional = FALSE, ...)

Arguments

x

dce object

row.names

optional character vector of rownames

optional

logical; allow optional arguments

...

additional arguments

Value

data frame containing the dce output

Examples

dag <- create_random_DAG(30, 0.2)
X_wt <- simulate_data(dag)
dag_mt <- resample_edge_weights(dag)
X_mt <- simulate_data(dag_mt)
dce_list <- dce(dag, X_wt, X_mt)

kpj/dce documentation built on Oct. 29, 2022, 1:40 a.m.