Last updated: 2023-05-02

Checks: 6 1

Knit directory: PMC141/

This reproducible R Markdown analysis was created with workflowr (version 1.7.0). The Checks tab describes the reproducibility checks that were applied when the results were created. The Past versions tab lists the development history.


The R Markdown is untracked by Git. To know which version of the R Markdown file created these results, you’ll want to first commit it to the Git repo. If you’re still working on the analysis, you can ignore this warning. When you’re finished, you can run wflow_publish to commit the R Markdown file and build the HTML.

Great job! The global environment was empty. Objects defined in the global environment can affect the analysis in your R Markdown file in unknown ways. For reproduciblity it’s best to always run the code in an empty environment.

The command set.seed(20221110) was run prior to running the code in the R Markdown file. Setting a seed ensures that any results that rely on randomness, e.g. subsampling or permutations, are reproducible.

Great job! Recording the operating system, R version, and package versions is critical for reproducibility.

Nice! There were no cached chunks for this analysis, so you can be confident that you successfully produced the results during this run.

Great job! Using relative paths to the files within your workflowr project makes it easier to run your code on other machines.

Great! You are using Git for version control. Tracking code development and connecting the code version to the results is critical for reproducibility.

The results in this page were generated with repository version f620404. See the Past versions tab to see a history of the changes made to the R Markdown and HTML files.

Note that you need to be careful to ensure that all relevant files for the analysis have been committed to Git prior to generating the results (you can use wflow_publish or wflow_git_commit). workflowr only checks the R Markdown file, but you know if there are other scripts or data files that it depends on. Below is the status of the Git repository when the results were generated:


Ignored files:
    Ignored:    .Rhistory
    Ignored:    .Rproj.user/

Untracked files:
    Untracked:  analysis/ML_ImageProcessing_PMC141.Rmd
    Untracked:  analysis/PMC136_QC.Rmd
    Untracked:  analysis/PMC136_viability.Rmd
    Untracked:  analysis/PMC141_QC.Rmd
    Untracked:  code/Function_GRbox_2_ttest.R
    Untracked:  code/Function_display_HDoutliers.R
    Untracked:  code/Function_find_HDoutliers.R
    Untracked:  code/Function_find_outlier_threshold.R
    Untracked:  code/GRbox.R
    Untracked:  code/GRdraw_DRC_1.R
    Untracked:  code/feat_reduct_functions.R
    Untracked:  code/ggbiplot.R
    Untracked:  code/image_qc_functions.R
    Untracked:  code/mp_functions.R
    Untracked:  code/mpvalue_orig.R
    Untracked:  data/Images/
    Untracked:  data/PMC141 final layout.csv
    Untracked:  data/PMC141_ScreenSum_layout.png
    Untracked:  data/create_annotation/
    Untracked:  data/raw_data/
    Untracked:  data/row_labels.csv
    Untracked:  output/NC_PMC141_data_norm.csv
    Untracked:  output/manipulated/

Note that any generated files, e.g. HTML, png, CSS, etc., are not included in this status report because it is ok for generated content to have uncommitted changes.


There are no past versions. Publish this analysis with wflow_publish() to start tracking its development.


Aim

The aim of this analysis is to assess the quality of the screen in terms of viability and performance of negative and positive controls.

Researcher

Kylie Gorringe, Olivia Craig

Readout

CTG, high content imaging - daily brightfield, end-point Hoechst/PI (1 field @ 2.5X, Cytation5)

Image analysis software

CellProfiler 4.1.3

Required R packages

data.table, DT, platetools, reshape2, tidyverse, patchwork

[1] "/home/mli/ML_KylieLab/PMC141"

Screen details

Screen starting date (yyyy-mm-dd)

2022-10-21,
2022-11-07

Cell lines

Org 60,
Org 49 and Org 60 repeat

Screen outline

Library: Custom collection

Controls

The normalising negative control is DMSO.



Plate layout




Known technical issues


Janus seeding per row was from 1 to 12 and 13 to 24
The Org 49 grew slower than Org 60.
So we have decided to delay drugging by 3 days (over the weekend) so they are of decent size.


Data cleaning

Filtering

The raw data was read into R Studio.

[1] "/home/mli/ML_KylieLab/PMC141/data/raw_data/CTG/Org49"
[1] "Org49"
     Plate Well_ID Row Col  SIDE   CTG Cell_Line
  1:     1      A1   A   1  left 55596     Org49
  2:     1      A2   A   2 right 42916     Org49
  3:     1      A3   A   3 right 52683     Org49
  4:     1      A4   A   4 right 48314     Org49
  5:     1      A5   A   5 right 46352     Org49
 ---                                            
380:     1     P20   P  20 right 14771     Org49
381:     1     P21   P  21 right 15699     Org49
382:     1     P22   P  22 right 13947     Org49
383:     1     P23   P  23 right 17199     Org49
384:     1     P24   P  24 right 16289     Org49
[1] "/home/mli/ML_KylieLab/PMC141/data/raw_data/CTG/Org60"
[1] "Org60"
     Plate Well_ID Row Col  SIDE   CTG Cell_Line
  1:     1      A1   A   1  left 13144     Org60
  2:     1      A2   A   2 right 15226     Org60
  3:     1      A3   A   3 right 15602     Org60
  4:     1      A4   A   4 right 16355     Org60
  5:     1      A5   A   5 right 19284     Org60
 ---                                            
764:     2     P20   P  20 right  3961     Org60
765:     2     P21   P  21 right  3129     Org60
766:     2     P22   P  22 right  3691     Org60
767:     2     P23   P  23 right  3433     Org60
768:     2     P24   P  24 right  2769     Org60

Data processing

Annotation

Well annotations were added to the data.

Normalisation

The values were normalised to the median of the negative control DMSO wells on a per-plate basis. The left and right SIDE of the plates were normalised separate from each other.


Screen quality

See the Screen quality section of the Methods page for a more information regarding what’s expected in terms of heat maps and screen and PLATE QC metrics, including %CVs and Z’ Factor values.


Heat maps


Comments:


The Org 60 plate 1 Raw CTG data was consistent with its high seeding cell density, contrasting to the lower seeding density in plate 2. However the Left end of the plate 1 Org 60 had visible batch effect (left compared to right). This is odd, usually it is the other way around. I suspect there might be many clumpy cells in the seeding. Need to verify it with BF imaging.


Org 49 displayed left to right seeding difference.
Interpretation shall be carried to analyse the normalized data (normalization was done taking consideration of seeding orientation)

CTG Raw values


CTG Normalised values

for (i in unique(data_norm$CELL_LINE)){

  data_plot <-
    data_norm %>%
    filter(CELL_LINE == i)

  # make plots
  heapmap <-
    data_plot %>%
    dplyr::group_by(Barcode) %>%
    dplyr::do(plots = platetools::raw_map(data = .$CTG_Norm,
                                          well = .$WELL_ID,
                                          plate = 384) +
                ggtitle(.$Barcode[1]) +
                scale_fill_gradient2(low = "blue",
                                     mid = "white",
                                     high = "red",
                                     midpoint = median(data_plot$CTG_Norm),
                                     limits = c(floor(0), ceiling(max(data_plot$CTG_Norm))),
                                     name = "CTG range \nby CellLine") +
                theme(plot.title = element_text(size = 22, hjust = 0.05, vjust = -0.1, margin = margin(b = -5)),
                      axis.text.x = element_text(size = 4),
                      axis.text.y = element_text(size = 4))
               
              )

    myplots <- list()

  for (i in 1:length(unique(data_plot$Barcode))){

    p1 <- eval(substitute(print(heapmap$plots[[i]]), list(i=i)))
    

    myplots[[i]] <- p1
  }

}



 

Analysed by Mark Li

Victorian Centre for Functional Genomics

 

Screen QC Metrics


Comments: You can download the data in excel or csv format. You can drag columns and turn them on and off



 

Analysed by Mark Li

Victorian Centre for Functional Genomics

 

PLATE QC Metrics


Comments:



 

Analysed by Mark Li

Victorian Centre for Functional Genomics

 

Notched box plots


Comments: Org 60 plate 1 is behaving different to its plate 2. A warning sign of high cell density for this line.



 

Analysed by Mark Li

Victorian Centre for Functional Genomics

 

Dot plots


The plots are interactive - toggle particular compounds on and off by clicking the legend, hover over data point on the plot to see its associated value, and hover above the plot on the right-hand SIDE of the screen to see additional options (eg. zoom, select, export).


Raw



 

Analysed by Mark Li

Victorian Centre for Functional Genomics

 

Normalised



 

Analysed by Mark Li

Victorian Centre for Functional Genomics

 


sessionInfo()
R version 4.2.0 (2022-04-22)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: CentOS Linux 7 (Core)

Matrix products: default
BLAS:   /usr/lib64/libblas.so.3.4.2
LAPACK: /usr/lib64/liblapack.so.3.4.2

locale:
 [1] LC_CTYPE=en_AU.UTF-8       LC_NUMERIC=C              
 [3] LC_TIME=en_AU.UTF-8        LC_COLLATE=en_AU.UTF-8    
 [5] LC_MONETARY=en_AU.UTF-8    LC_MESSAGES=en_AU.UTF-8   
 [7] LC_PAPER=en_AU.UTF-8       LC_NAME=C                 
 [9] LC_ADDRESS=C               LC_TELEPHONE=C            
[11] LC_MEASUREMENT=en_AU.UTF-8 LC_IDENTIFICATION=C       

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
 [1] htmltools_0.5.4   here_1.0.1        patchwork_1.1.2   forcats_1.0.0    
 [5] stringr_1.5.0     dplyr_1.1.0       purrr_1.0.1       readr_2.1.4      
 [9] tidyr_1.3.0       tibble_3.1.8      ggplot2_3.4.1     tidyverse_1.3.2  
[13] readxl_1.4.2      reshape2_1.4.4    platetools_0.1.5  DT_0.27          
[17] data.table_1.14.8 workflowr_1.7.0  

loaded via a namespace (and not attached):
 [1] fs_1.6.1            lubridate_1.9.2     bit64_4.0.5        
 [4] RColorBrewer_1.1-3  httr_1.4.4          rprojroot_2.0.3    
 [7] tools_4.2.0         backports_1.4.1     bslib_0.4.2        
[10] utf8_1.2.3          R6_2.5.1            lazyeval_0.2.2     
[13] DBI_1.1.3           colorspace_2.1-0    withr_2.5.0        
[16] tidyselect_1.2.0    processx_3.8.0      bit_4.0.5          
[19] compiler_4.2.0      git2r_0.31.0        cli_3.6.0          
[22] rvest_1.0.3         formatR_1.14        xml2_1.3.3         
[25] plotly_4.10.1       labeling_0.4.2      sass_0.4.5         
[28] scales_1.2.1        callr_3.7.3         digest_0.6.31      
[31] rmarkdown_2.20      pkgconfig_2.0.3     highr_0.10         
[34] dbplyr_2.3.0        fastmap_1.1.0       htmlwidgets_1.6.1  
[37] rlang_1.0.6         rstudioapi_0.14     farver_2.1.1       
[40] jquerylib_0.1.4     generics_0.1.3      jsonlite_1.8.4     
[43] crosstalk_1.2.0     vroom_1.6.1         googlesheets4_1.0.1
[46] magrittr_2.0.3      Rcpp_1.0.10         munsell_0.5.0      
[49] fansi_1.0.4         lifecycle_1.0.3     stringi_1.7.12     
[52] whisker_0.4.1       yaml_2.3.7          snakecase_0.11.0   
[55] plyr_1.8.8          grid_4.2.0          parallel_4.2.0     
[58] promises_1.2.0.1    crayon_1.5.2        haven_2.5.1        
[61] hms_1.1.2           knitr_1.42          ps_1.7.2           
[64] pillar_1.8.1        reprex_2.0.2        glue_1.6.2         
[67] evaluate_0.20       getPass_0.2-2       modelr_0.1.10      
[70] vctrs_0.5.2         tzdb_0.3.0          httpuv_1.6.9       
[73] cellranger_1.1.0    gtable_0.3.1        assertthat_0.2.1   
[76] cachem_1.0.6        xfun_0.37           janitor_2.2.0      
[79] mime_0.12           broom_1.0.3         later_1.3.0        
[82] viridisLite_0.4.1   googledrive_2.0.0   gargle_1.3.0       
[85] timechange_0.2.0    ellipsis_0.3.2