Description Usage Arguments Value Author(s) See Also
Computes the *log2(mean expression)* of housekeeping genes for
each cell in x
and plots the distribution using a scatter plot. Adds a
horizontal line demarcating the *housekeeping cutoff* parameter.
1 2 3 4 5 6 7 8 | scandal_mean_housekeeping_expression_plot(
x,
housekeeping_cutoff,
sample_id,
project_id = ".",
show_plot = TRUE,
save_to_file = TRUE
)
|
x |
an expression matrix. |
housekeeping_cutoff |
a numeric representing the log2 mean expression of house-keeping genes (i.e. genes that are highly expressed in all cells) per cell below which a cell is considered low quality. |
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. |
Invisibly returns the generated plot.
Avishay Spitzer
scandal_scatter_plot, SCANDAL_HOUSEKEEPING_GENES_LIST
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.