run_pair_test_stats {celaref} | R Documentation

## run_pair_test_stats

### Description

Internal function to compare the distribution of a query datasets 'top' genes between two different reference datasete groups with a Mann–Whitney U test. One directional test if groupA median < group B.

### Usage

    run_pair_test_stats(de_table.ref.marked, the_test_group, groupA, groupB,
      enforceAgtB = TRUE)

### Arguments

`de_table.ref.marked` | The output of `get_the_up_genes_for_all_possible_groups` for the contrast of interest.
`the_test_group` | Name of the test group in query dataset.
`groupA` | One of the reference group names
`groupB` | Another of the reference group names
`enforceAgtB` | Do a one tailed test of A 'less' B (more similar)? Or two-tailed. Default = TRUE.

### Details

For use by make_ref_similarity_names_using_marked

### Value

A tibble of wilcox / man-whitneyU test results for this contrast.

### See Also

`make_ref_similarity_names_using_marked`

[Package celaref version 1.6.0 Index]