This commit is contained in:
Tanushree Tunstall 2022-08-05 12:45:16 +01:00
parent 14f8f5d6d4
commit c0f59bc9c9
5 changed files with 74 additions and 12 deletions

View file

@ -144,6 +144,7 @@ cat(s3)
# location: scripts/functions/corr_plot_data.R
####################################################################
# make sure the above script works because merged_df2_combined is needed
merged_df3 = as.data.frame(merged_df3)
corr_df_m3_f = corr_data_extract(merged_df3, extract_scaled_cols = F)
head(corr_df_m3_f)

View file

@ -48,7 +48,12 @@ lin_diversityP = lin_count_bp_diversity(lf_data = lineage_dfL[['lin_wf']]
, y_log10 = F
, y_scale_percent = F
, leg_location = "top"
, y_label = "SNP diversity")
, y_label = "Percent" #"SNP diversity"
, bp_plot_title = "SNP diversity"
, title_colour = "black" #"chocolate4"
, subtitle_text = NULL
, sts = 20
, subtitle_colour = "#350E20FF")
#=============================================
# Output plots: Lineage count and Diversity