compare_exposures {YAPSA} | R Documentation

## Compares alternative exposures

### Description

Compares exposures computed by two alternative approaches for the same cohort

### Usage

    compare_exposures(in_exposures1_df, in_exposures2_df, deselect_flag = TRUE)

### Arguments

`in_exposures1_df` | Numeric data frame with exposures, ideally the smaller exposure data is supplied first.
`in_exposures2_df` | Numeric data frame with exposures, ideally the bigger exposure data is supplied second.
`deselect_flag` | Wehther signatures absent in both exposure data frames should be removed.

### Value

A list with entries `merge_df`, `all_cor.coeff`, `all_p.value`, `cor.coeff_vector`, `p.value_vector`, `all_cor.test`, and `cor.test_list`.

- `merge_df`: Merged molten input exposure data frames

- `all_cor.coeff`: Pearson correlation coefficient for all data points, i.e. taken all signatures together

- `all_p.value`: P-value of the Pearson test for all data points, i.e. taken all signatures together

- `cor.coeff_vector`: A vector of Pearson correlation coefficients evaluated for every signature independently

- `p.value_vector`: A vector of p-values of the Pearson tests evaluated for every signature independently

- `all_cor.test`: A data structure as returned by `cor.test` for all data points, i.e. taken all signatures together

- `cor.test_list`: A list of data structures as returned by `cor.test`, but evaluated for every signature independently

### Examples

     NULL

[Package YAPSA version 1.18.0 Index]