added function for stats from lf data

This commit is contained in:
Tanushree Tunstall 2021-08-27 13:01:52 +01:00
parent eb19efd287
commit 14d1ec84ab
4 changed files with 137 additions and 50 deletions

View 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"
)