plot_accessibility_in_pseudotime: Plot accessibility by pseudotime

Description Usage Arguments Details Value Examples

View source: R/plotting.R

Description

Make a barplot of chromatin accessibility across pseudotime

Usage

1
plot_accessibility_in_pseudotime(cds_subset, breaks = 10)

Arguments

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.

Details

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.

Value

ggplot object

Examples

1
2
3
4
5
6
## Not run: 
plot_accessibility_in_pseudotime(input_cds_lin[c("chr18_38156577_38158261",
                                                 "chr18_48373358_48374180",
                                                 "chr18_60457956_60459080")])

## End(Not run)

cicero documentation built on Dec. 10, 2020, 2 a.m.