This function plot the trend of a gene resulted as hit
plot_trend(
screenR_Object,
genes,
group_var,
alpha = 0.5,
se = FALSE,
point_size = 1,
line_size = 1,
nrow = 1,
ncol = 1,
scales = "free"
)The ScreenR object obtained using the
create_screenr_object
The vector of genes to use
The variable that as to be used to filter the data, for example the different treatment
A value for the opacity of the plot. Allowed values are in the range 0 to 1
A boolean to indicate where or not to plot the standard error
The dimension of each dot
The dimension of the line
The number of rows in case multiple genes are plotted
The number of columns in case multiple genes are plotted
The scales to be used in the facette
The plot of the trend over time for a specific treatment.
object <- get0("object", envir = asNamespace("ScreenR"))
plot_trend(object, genes = "Gene_42", group_var = c("T1", "T2", "TRT"))
plot_trend(object,
genes = c("Gene_42", "Gene_100"),
group_var = c("T1", "T2", "TRT"),
nrow = 2
)