added af and OR columns in the data

This commit is contained in:
Tanushree Tunstall 2020-10-06 19:39:59 +01:00
parent da3b23d502
commit 7158f5b2c9

View file

@ -28,7 +28,10 @@ cols_to_select = c("id", "sample"
, "mutationinformation" , "mutationinformation"
, "wild_type" , "wild_type"
, "position" , "position"
, "mutant_type") , "mutant_type"
, "af"
, "or_mychisq"
, "or_kin")
dnds_df_all = merged_df2[, cols_to_select] dnds_df_all = merged_df2[, cols_to_select]
@ -69,3 +72,5 @@ write.csv(dnds_df_all, select_pressure_muts_all, row.names = FALSE)
#---------- #----------
cat("Filename:", select_pressure_muts_aa_site) cat("Filename:", select_pressure_muts_aa_site)
write.csv(dnds_df_aa_site, select_pressure_muts_aa_site, row.names = FALSE) write.csv(dnds_df_aa_site, select_pressure_muts_aa_site, row.names = FALSE)
colnames(dnds_df_all)