Diff of /man/bioTMLE-class.Rd [000000] .. [efa494]

Switch to unified view

a b/man/bioTMLE-class.Rd
1
% Generated by roxygen2: do not edit by hand
2
% Please edit documentation in R/utils.R
3
\docType{class}
4
\name{bioTMLE-class}
5
\alias{bioTMLE-class}
6
\alias{.biotmle}
7
\title{Constructor for class bioTMLE}
8
\value{
9
class \code{biotmle} object, sub-classed from SummarizedExperiment.
10
}
11
\description{
12
Constructor for class bioTMLE
13
}
14
\examples{
15
library(SummarizedExperiment)
16
library(biotmleData)
17
data(illuminaData)
18
19
example_biotmle_class <- function(se) {
20
  call <- match.call(expand.dots = TRUE)
21
  biotmle <- .biotmle(
22
    SummarizedExperiment(
23
      assays = assay(se),
24
      rowData = rowData(se),
25
      colData = colData(se)
26
    ),
27
    call = call,
28
    ateOut = as.numeric(rep(NA, 10)),
29
    tmleOut = as.data.frame(matrix(NA, 10, 10)),
30
    topTable = as.data.frame(matrix(NA, 10, 10))
31
  )
32
  return(biotmle)
33
}
34
35
example_class <- example_biotmle_class(se = illuminaData)
36
}