plot_zscore_distribution: Plot distribution Z-score

View source: R/plot_zscore_distribution.R

plot_zscore_distributionR Documentation

Plot distribution Z-score

Description

This function plots the Log2FC Z-score distribution of the treated vs control in the different time points.

Usage

plot_zscore_distribution(time_point_measure, alpha = 1)

Arguments

time_point_measure

A list containing the table for each time point. Each table contains for each barcode the counts for the treated and control the Log2FC, Zscore, ZscoreRobust, Day.

alpha

A value for the opacity of the plot. Allowed values are in the range 0 to 1

Value

return the density plot of the distribution of the Z-score

Examples

object <- get0("object", envir = asNamespace("ScreenR"))

table1 <- compute_metrics(object,
    control = "TRT", treatment = "Time3",
    day = "Time3"
)

table2 <- compute_metrics(object,
    control = "TRT", treatment = "Time4",
    day = "Time4"
)

plot_zscore_distribution(list(table1, table2), alpha = 0.5)

EmanuelSoda/ScreenR documentation built on Sept. 29, 2023, 12:33 a.m.