added first line to all func to run from
This commit is contained in:
parent
1c27bbff11
commit
e822f9f690
8 changed files with 13 additions and 8 deletions
|
@ -102,8 +102,9 @@ plot_logo_multiple_muts = paste0(plotdir,"/", logo_multiple_muts)
|
|||
|
||||
#%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
# REASSIGNMENT
|
||||
my_df = merged_df3
|
||||
my_df = merged_df3
|
||||
#%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
|
||||
colnames(my_df)
|
||||
str(my_df)
|
||||
|
||||
|
@ -113,7 +114,7 @@ c1 = unique(my_df$position)
|
|||
nrow(my_df)
|
||||
|
||||
# get freq count of positions so you can subset freq<1
|
||||
require(data.table)
|
||||
#require(data.table)
|
||||
setDT(my_df)[, mut_pos_occurrence := .N, by = .(position)] #189, 36
|
||||
|
||||
table(my_df$position)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue