Description Usage Arguments Value Author(s) See Also Examples
Performs hypothesis testing for imaging experiments by fitting linear mixed models to summarizations or segmentations.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | ## S4 method for signature 'SparseImagingExperiment'
meansTest(x, fixed, random, groups = run(x),
BPPARAM = getCardinalBPPARAM(), ...)
## S4 method for signature 'SparseImagingExperiment'
segmentationTest(x, fixed, random, groups = run(x),
classControl = c("Ymax", "Mscore"),
BPPARAM = getCardinalBPPARAM(), ...)
## S4 method for signature 'SpatialDGMM'
segmentationTest(x, fixed, random, model = modelData(x),
classControl = c("Ymax", "Mscore"),
BPPARAM = getCardinalBPPARAM(), ...)
## S4 method for signature 'MeansTest'
summary(object, ..., BPPARAM = getCardinalBPPARAM())
## S4 method for signature 'SegmentationTest'
summary(object, ..., BPPARAM = getCardinalBPPARAM())
|
x |
An imaging dataset or segmented/summarized imaging dataset. |
fixed |
A one-sided formula giving the fixed effects of the model on the RHS. The response will added to the LHS, and the formula will be passed to the underlying modeling function. |
random |
A one-sided formula giving the random effects of the model on the RHS. See |
groups |
The summarization units. Pixels from different groups will be segmented/summarized separately. Each distinct observational unit (e.g., tissue sample) should be assigned to a unique group. |
model |
An integer vector or |
classControl |
Either the method used to match segmented classes to the fixed effects, or a list where each element is a vector of name-value pairs giving the mapping between groups and classes (e.g., c(group1=class1, group2=class2, ...)). For automated matching methods, 'Ymax' means to use the classes with the highest mean response for each group, and 'Mscore' means to select classses based on a match score quantifying the overlap between classes and fixed effects. |
... |
Passed to internal linear modeling methods. |
object |
A fitted model object to summarize. |
BPPARAM |
An optional instance of |
An object of class MeansTest
or SegmentationTest
, which is a ImagingResult
, where each element of the resultData
slot contains at least the following components:
model
:A linear model fitted using either lm
or lme
.
data
:The summarized data used to fit the model.
Dan Guo and Kylie A. Bemis
lm
, lme
,
spatialDGMM
1 2 3 4 5 6 7 8 9 10 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.