added function for stats from lf data
This commit is contained in:
parent
eb19efd287
commit
14d1ec84ab
4 changed files with 137 additions and 50 deletions
17
scripts/functions/test_lf_unpaired_stats.R
Normal file
17
scripts/functions/test_lf_unpaired_stats.R
Normal file
|
@ -0,0 +1,17 @@
|
|||
setwd("~/git/LSHTM_analysis/scripts/functions")
|
||||
source("lf_unpaired_stats.R")
|
||||
|
||||
# run other_plots_data.R
|
||||
# to get the df you want to test this function
|
||||
|
||||
|
||||
#####################
|
||||
# call stat function
|
||||
#####################
|
||||
stat_results_df <- lf_unpaired_stats(lf_data = lf_duet
|
||||
, lf_stat_value = "param_value"
|
||||
, lf_stat_group = "mutation_info"
|
||||
, lf_col_statvars = "param_type"
|
||||
, my_paired = FALSE
|
||||
, stat_adj = "none"
|
||||
)
|
Loading…
Add table
Add a link
Reference in a new issue