-
Notifications
You must be signed in to change notification settings - Fork 28
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
plotPairsArches, archHeight, Y-axis #95
Comments
Hi there! Thanks for checking out I hope this helps clarify the functionality, and I'd be happy to answer any more questions you have! Best, |
Thanks Nicole! And thanks again for working on plotgardener! Thanks again, Elliott
|
chrom00 <- "chr8" |
What version of library(plotgardener)
#>
#> Attaching package: 'plotgardener'
#> The following object is masked from 'package:base':
#>
#> c
pageCreate(width = 5, height = 2, default.units = "inches", showGuides = FALSE)
bedpe.df <- data.frame(V1 = "chr8" , V2 = 91620000, V3 = 91630000, V4 = "chr8", V5 = 91710000 , V6 = 91720000, V7 = "String", V8 = 12, V9= "+", V10 = "-")
params <- pgParams(
chrom = "chr8",
chromstart = 91156101, chromend = 92636101,
assembly = "mm10",
width = 7)
archPlotmm <- plotPairsArches(
data = bedpe.df, params = params,
fill = "firebrick3",
linecolor = NA,
archHeight = "V8",
x = 0.5, y = 0.25, height = 2, width = 4.5,
just = c("left", "top"),
default.units = "inches", assembly = "mm10",draw = T
)
#> arches[arches1]
annoYaxis(
plot = archPlotmm,
fontsize = 10,
label = T, axisLine = T
)
#> yaxis[yaxis1] Created on 2023-08-18 with reprex v2.0.2 Unfortunately, we do not have a way to set the maximum height to be higher than the arches you're plotting, but this is something we can work on incorporating. |
Hi! I am using the function plotPairsArches() to plot HiChIP contacts and providing it with values for the arch height. It's not clear to me now to draw an accompanying y-axis that will be in the same units as archHeight. I'm using annoYaxis() for the y-axis, it just gives me an axis with height of 2. Thanks!
The text was updated successfully, but these errors were encountered: