Description Usage Arguments Value

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

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

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

`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 |

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

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.