View source: R/find_zscore_hit.R
| find_zscore_hit | R Documentation | 
Title Find Z-score Hit
find_zscore_hit(table_treate_vs_control, number_barcode = 6, metric = "median")
| table_treate_vs_control | table computed with the function
 | 
| number_barcode | Number of barcode that as to be differentially expressed (DE)in order to consider the gene associated DE. Example a gene is associated with 10 shRNA we consider a gene DE if it has at least number_barcode = 5 shRNA DE. | 
| metric | A string containing the metric to use. The value allowed are "median" or "mean". | 
Return a tibble containing the hit for the Z-score
object <- get0("object", envir = asNamespace("ScreenR"))
table <- compute_metrics(object,
    control = "TRT", treatment = "Time3",
    day = "Time3"
)
# For the the median
result <- find_zscore_hit(table, number_barcode = 6)
head(result)
# For the mean
result <- find_zscore_hit(table, number_barcode = 6, metric = "mean")
head(result)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.