Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhanced CoveragePlot() options #362

Open
zrcjessica opened this issue Dec 10, 2020 · 3 comments
Open

Enhanced CoveragePlot() options #362

zrcjessica opened this issue Dec 10, 2020 · 3 comments
Labels
enhancement New feature or request

Comments

@zrcjessica
Copy link

I am interested in showing the pseudo-bulk accessibility around the TSS of marker genes for specific cell types. I want to have the marker genes of interest on the y-axis and the cell types on the x-axis. Here is an example of what I'm thinking of:

cell_marker_atac

Currently, I can't figure out how to do this without manually putting together individual CoveragePlots.

@zrcjessica zrcjessica added the enhancement New feature or request label Dec 10, 2020
@timoast
Copy link
Collaborator

timoast commented Dec 15, 2020

I can confirm this is not currently possible without making several individual coverage plots. We can try to add something like this in a future release

@RuiyangLiu94
Copy link

Hi, I have some similar needs as zrcjessica's. Seems there is not a way to make this kind of plot directly, but I am trying to play with the code to make generating this plot a bit easier. In particular, I am wondering if there is any way to remove the facet titles in the coverage plot? (e.g. I want to remove 'CD4 naive', 'CD4 memory', etc. in the figure below).

I have tried adding theme(strip.text = element_blank(),strip.background = element_blank()) to the coverage track plot, but seems it is not the way to go.

image

@RuiyangLiu94
Copy link

never mind, I figured it out lastly...
Turned out the way to remove the cell type labels is to specify themes in another way:
p <- p + theme(strip.text.y.left = element_blank(),strip.background = element_blank())

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Future
Development

No branches or pull requests

3 participants