calculating mean stabilty per position
please enter the commit message for your changes. Lines starting
This commit is contained in:
parent
1e785a08a1
commit
1f44f8ec0a
5 changed files with 172 additions and 9 deletions
|
@ -17,9 +17,9 @@ getwd()
|
|||
########################################################################
|
||||
# Read file: call script for combining df for PS #
|
||||
########################################################################
|
||||
|
||||
#source("../combining_two_df.R")
|
||||
#?????????????
|
||||
#
|
||||
|
||||
#########################################################
|
||||
#%% variable assignment: input and output paths & filenames
|
||||
drug = 'pyrazinamide'
|
||||
|
@ -87,9 +87,9 @@ if ( length(unique(my_df$mutationinformation)) != length(my_df$mutationinformati
|
|||
my_df_u = my_df
|
||||
}
|
||||
|
||||
#upos = unique(my_df_u$position)
|
||||
upos = unique(my_df_u$position)
|
||||
cat('Dim of clean df:'); cat(dim(my_df_u))
|
||||
cat('\nNo. of unique mutational positions:'); cat(length(unique(my_df_u$position)))
|
||||
cat('\nNo. of unique mutational positions:'); cat(length(upos))
|
||||
|
||||
########################################################################
|
||||
# end of data extraction and cleaning for plots #
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue