RunStatistics {Sconify} | R Documentation

## Performs a series of statistical tests on the batch of cells of interest.

### Description

This function performs the statistics across the nearest neighborhoods, and is one of the main workhorses within the scone.values function

### Usage

    RunStatistics(basal, stim, fold = "median", stat.test = "mwu", stim.name)

### Arguments

`basal` | tibble of cells corresponding to the unstimulated condition
`stim` | a tibble of cells corresponding to the stimulated condition
`fold` | a string that specifies the use of "median" or "mean" when calculating fold change
`stat.test` | a string that specifies Mann-Whitney U test (mwu) or T test (t) for q value calculation
`stim.name` | a string corresponding to the name of the stim being tested compared to basal

### Value

result: a named vector corresponding to the results of the "fold change" and mann-whitney u test

[Package Sconify version 1.7.0 Index]