diff --git a/NAMESPACE b/NAMESPACE index 0d7da0e1..ae34243c 100644 --- a/NAMESPACE +++ b/NAMESPACE @@ -1,5 +1,6 @@ # Generated by roxygen2: do not edit by hand +S3method(as.data.frame,Plate) S3method(predict,Model) S3method(summary,Plate) export(PlateBuilder) diff --git a/R/classes-plate.R b/R/classes-plate.R index 7f7bcfef..b3b54d94 100644 --- a/R/classes-plate.R +++ b/R/classes-plate.R @@ -440,3 +440,8 @@ Plate <- R6::R6Class( summary.Plate <- function(object, ...) { object$summary(...) } + +#' @export +as.data.frame.Plate <- function(x, row.names, optional, ...) { + x$get_data("ALL", "ALL") +}