Skip to contents

Tests Milo neighborhoods for differential abundance using a specified design formula.

Usage

test_nhoods(sce_milo, formula_str)

Arguments

sce_milo

A list containing a Milo object and a design matrix, as returned by make_nhoods.

formula_str

A character string representing the design formula for differential testing (e.g., "~ condition").

Value

A data frame of differential abundance results for the neighborhoods.

Details

This function performs differential abundance testing on the neighborhoods using the specified design formula.

Examples

# Example usage:
# da_results <- test_nhoods(sce_milo, formula_str = "~ condition")