sorted merged_df2 and consequently others by position in combining_dfs_plotting.R

This commit is contained in:
Tanushree Tunstall 2021-09-16 12:43:36 +01:00
parent 46ebed6b3e
commit 60adbe25fb
2 changed files with 71 additions and 7 deletions

View file

@ -153,7 +153,13 @@ combining_dfs_plotting <- function( my_df_u
quit()
}
# Quick formatting: pretty labels
# Quick formatting: ordering df and pretty labels
#------------------------------
# sorting by column: position
#------------------------------
merged_df2 = merged_df2[order(merged_df2$position), ]
#-----------------------
# mutation_info_labels
#-----------------------