Description Usage Arguments Value Examples
View source: R/basic_functions.R
Compares exposures computed by two alternative approaches for the same cohort
1 | compare_exposures(in_exposures1_df, in_exposures2_df, deselect_flag = TRUE)
|
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. |
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
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.