Description Usage Arguments Value Author(s) See Also
Computes the *log2(mean exression)* of each genes in x
and
plots a histogram depicting the distribution mean gene expression. Adds a
vertical line demarcating the *expression cutoff*.
1 2 3 4 5 6 7 8 9 | scandal_mean_expression_frequency_plot(
x,
expression_cutoff,
sample_id,
project_id = ".",
show_plot = TRUE,
save_to_file = TRUE,
histogram_bin_width = 0.2
)
|
x |
an expression matrix. |
expression_cutoff |
a numeric representing the minimal log2 mean expression per gene below which a gene is considered lowly expressed. |
sample_id |
an ID of the sample being processed. Used for generating the filename and hence is mandatory. |
project_id |
a character identifier of the current project. Used for saving generated plot to the project's plots directory. Default is "." (current working directory). |
show_plot |
logical indicating if the plots should be printed to the graphics device. Allows saving the plots without printing to the graphics device by setting to FALSE. Default is TRUE. |
save_to_file |
logical indicating wether the plots should be saved to the plots directory. Default is TRUE. |
histogram_bin_width |
controls the width of each histogram bin. Default is 0.2. |
Invisibly returns the generated plot.
Avishay Spitzer
scandal_histogram_plot
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.