RunStatistics: Performs a series of statistical tests on the batch of cells...

Description Usage Arguments Value

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

Description

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

Usage

1
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


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