Builds an exomeDepth object from test and reference vectors
# S4 method for ExomeDepth
initialize(
.Object,
data = NULL,
test,
reference,
formula = "cbind(test, reference) ~ 1",
phi.bins = 1,
prop.tumor = 1,
subset.for.speed = NULL,
verbose = TRUE
)
ExomeDepth object
Data frame containing potential covariates.
Numeric, vector of counts for the test sample.
Numeric, vector of counts for the reference sample.
Linear model to be used when fitting the data.
Numeric, defaults to 1. Number of discrete bins for the over-dispersion parameter phi, depending on read depth. Do not modify this parameter for the standard use of ExomeDepth.
Numeric, defaults to 1. For the somatic variant calling, this assesses the proportion of the test sample data originating from the tumour. Do not modify this parameter for the standard use of ExomeDepth.
Numeric, defaults to NULL. If non-null, this sets the number of data points to be used for an accelerated fit of the data.
Logical, controls the output level.