Contents

Package: sylsnet
Authors: Chunxuan Shao [aut, cre]
Compiled: 2024-10-29

1 Introduction

Here is a step-by-step tutorial of the package synlet. This package processes data from cellBasedArrays. In this vignette, we will show a quick tour of using the synlet with dummy/stimulated data, including quality control, data visualization, and most importantly, hits selection.

2 Load the package and data.

First, Let’s have a look at the example data.

library(synlet)
data(example_dt)
head(example_dt)
##      PLATE MASTER_PLATE     WELL_CONTENT_NAME  EXPERIMENT_TYPE
##     <char>       <char>                <char>           <char>
## 1: 1031121         P001              AAK1 si3           sample
## 2: 1031121         P001              PLK1 si1 control_positive
## 3: 1031121         P001            lipid only control_negative
## 4: 1031121         P001 scrambled control si1 control_negative
## 5: 1031121         P001            lipid only control_negative
## 6: 1031121         P001            AARSD1 si3           sample
##    EXPERIMENT_MODIFICATION ROW_NAME COL_NAME READOUT
##                     <char>   <char>   <char>   <int>
## 1:               treatment        C       10     455
## 2:               treatment        C       11     814
## 3:               treatment        C       12     537
## 4:               treatment        C       13     568
## 5:               treatment        C       14     566
## 6:               treatment        C       15     632

The example_dt is a data.table containing 8 columns, all of them are mandatory and please do NOT change the column names. Besides that, users are free to add new columns. However, please not that the new columns may not appear in the final results. Users need to generate example_dt like data.table from the screen results.

In the example_dt:

The example_dt contains three MASTER_PLATE, each MASTER_PLATE has three plates for treatment and control.

3 Quality control

3.1 Z and Z’ factor

Z’ factor and Z factor are widely used quality metrics in RNAi experiments.

Z’ factor = 1- 3*(\(\delta_p\) + \(\delta_n\)) / |\(\mu_p\) - \(\mu_n\)|

Z factor = 1- 3*(\(\delta_s\) + \(\delta_n\)) / |\(\mu_s\) - \(\mu_n\)|

In Z’ factor calculation, \(\delta_p\), \(\delta_n\), \(\mu_p\), \(\mu_n\) are the standard deviation and mean of positive control and negative control signal, respectively; while in Z factor formular \(\delta_s\), \(\delta_n\), \(\mu_s\), \(\mu_n\) are standard deviation and mean of samples and negative control signal, respectively. From the definition, we could see that Z’ factor measures the quality of optimization of plates, and Z factor accesses the performance of screen on actual samples. Generally, the plates with value >= 0.5 are considered as excellent assay. See [1] and [2] for more information and discussion.

By default \(\mu\) in the denominator are mean value of signals, zFactor function offers the option to use median instead, which could be more robust in certain conditions.

Here is an example, we specify negative control is “scrambled control si1”, and positive control is “PLK1 si1”. These informations are stored in EXPERIMENT_TYPE column.

res <- zFactor(example_dt, negativeCon = "scrambled control si1", positiveCon = "PLK1 si1")
## (II) Number of plates to calculate Z/Z' factor: 18
head(res)
##            zFactor zPrimeFactor
## 1031121  -10.63422    -41.36325
## 1031122  -33.61931   -605.05780
## 1031123  -23.36894    -30.10812
## 1031124  -32.31388    -14.53770
## 1031125 -115.06929   -137.87408
## 1031126  -23.08053    -51.94333

As the READOUT are shuffled data, not surprising the Z and Z’ factor are negative value.

3.2 Heatmap of screen data

Synlet could plot the screen results in the format of heatmap, in which a dot represents a single cell. All plates are organized together in single figure. This provides a general view of RNAi screen quality.

plateHeatmap(example_dt)

3.3 Scatter plot of screen data

Usually in each plate there are negative and positive control siRNAs, which set the bound of siRNA effect. The scatter plot provide a direct way to examine the bound of controls. It is possible to specify multiple positive / negative controls in the function scatterPlot, and the output of all plates are arranged in a single plot.

scatterPlot(example_dt, controlOnly = FALSE, control_name = c("PLK1 si1", "scrambled control si1", "lipid only"))
## Warning: Removed 2 rows containing missing values or values outside the scale range
## (`geom_point()`).