plot_accessibility_in_pseudotime | R Documentation |
Make a barplot of chromatin accessibility across pseudotime
plot_accessibility_in_pseudotime(cds_subset, breaks = 10)
cds_subset |
Subset of the CDS object you want to plot. The CDS must have a column in the pData table called "Pseudotime". |
breaks |
Number of breaks along pseudotime. Controls the coarseness of the plot. |
This function plots each site in the CDS subset by cell pseudotime
as a barplot. Cells are divided into bins by pseudotime (number determined
by breaks
) and the percent of cells in each bin that are accessible
is represented by bar height. In addition, the black line represents the
pseudotime-dependent average accessibility from a smoothed binomial
regression.
ggplot object
## Not run: plot_accessibility_in_pseudotime(input_cds_lin[c("chr18_38156577_38158261", "chr18_48373358_48374180", "chr18_60457956_60459080")]) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.