Description Usage Arguments Value Author(s) See Also
Computes the complexity (number of genes with expression > 0) of each
cell in x
and plots the distribution using a scatter plot. Adds two
horizontal lines demarcating the lower and upper bounds of *complexity cutoff*
parameter.
1 2 3 4 5 6 7 8 | scandal_cell_complexity_distribution_plot(
x,
complexity_cutoff,
sample_id,
project_id = ".",
show_plot = TRUE,
save_to_file = TRUE
)
|
x |
an expression matrix. |
complexity_cutoff |
a numeric vector of length 2 representing the lower and upper bounds of complexity (i.e. the number of detected genes per cell). |
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, compute_complexity
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.