cleaninig code
This commit is contained in:
parent
269918d696
commit
74769b9a38
1 changed files with 2 additions and 2 deletions
|
@ -69,7 +69,7 @@ stats_df = subset(categ_df, select = -c(mosaic))
|
|||
|
||||
my_categ_cols = colnames(categ_df)[!colnames(categ_df)%in%metadata_cols]
|
||||
|
||||
if ( length(my_categ_cols) == ncol(categ_df) - length(drop_cols) ){
|
||||
if ( length(my_categ_cols) == ncol(categ_df) - length(metadata_cols) ){
|
||||
cat("PASS: variables for chisq test successfully extracted")
|
||||
}else{
|
||||
cat("FAIL: length mismatch when extracting variables for chisq")
|
||||
|
@ -133,7 +133,7 @@ sum(tab)
|
|||
#================================================================================
|
||||
#--------------------
|
||||
# Fishers test: without any OR
|
||||
# see standalone script for this!
|
||||
# see standalone script for ORs
|
||||
#--------------------
|
||||
|
||||
fisher_df = data.frame()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue