MultipleDonorStatistics: Runs a t test on the medians or means of multiple donors for...

Description Usage Arguments Value

View source: R/knn.and.statistics.R

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

1
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


Sconify documentation built on Nov. 8, 2020, 6:45 p.m.