MultipleDonorStatistics {Sconify} | R Documentation

## Runs a t test on the medians or means of multiple donors for the same condition

### Description

This function is for the instance that multiple donors are being compared against each other within the k-nearest neighborhood of interest. The mean value of the markers of interest is calculated across the donors, such that each data point for the subsequent t-test represents a marker for a danor.

### Usage

    MultipleDonorStatistics(basal, stim, stim.name, donors)

### Arguments

`basal` | tibble that contains unstim for a knn including donor identity
`stim` | tibble that contains stim for a knn including donor identity
`stim.name` | string of the name of the current stim being tested
`donors` | vector of strings corresponding to the designated names of the donors

### Value

result: a named vector of p values (soon to be q values) from the t test done on each marker

[Package Sconify version 1.0.4 Index]