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

plotTracks: wrong sign in 'by' argument #8

Open
lgatto opened this issue Jun 30, 2014 · 1 comment
Open

plotTracks: wrong sign in 'by' argument #8

lgatto opened this issue Jun 30, 2014 · 1 comment

Comments

@lgatto
Copy link

lgatto commented Jun 30, 2014

Since commit 08c8b11, the vignette fails in chunk complex-plot (lines 187 - 190) with the following error:

> pt <- ProbeTrack(sequence = restab$peptide, intensity = restab$group2, probeStart = restab$start, cex=0, legend=TRUE)
> plotTracks(trackList=c(pat, st, at, pt, ctM), from=460, to=560, type="l")
Error in seq.default((minBase + 0.5), length(sequence) - 1 + 0.5, by = 1) (from GenericsAndMethods.R#316) : wrong sign in 'by' argument
> traceback()
7: stop("wrong sign in 'by' argument")
6: seq.default((minBase + 0.5), length(sequence) - 1 + 0.5, by = 1)
5: seq((minBase + 0.5), length(sequence) - 1 + 0.5, by = 1) at GenericsAndMethods.R#316
4: .local(GdObject, ...)
3: drawGD(expandedTrackList[[i]], minBase = ranges["from"], maxBase = ranges["to"], subset = FALSE)
2: drawGD(expandedTrackList[[i]], minBase = ranges["from"], maxBase = ranges["to"], subset = FALSE)
1: plotTracks(trackList = c(pat, st, at, pt, ctM), from = 460, to = 560, type = "l")
@SRenan
Copy link
Member

SRenan commented Jun 30, 2014

Thank you for testing and reporting.
The package needs some automatic testing. I will definitely add tests for all Tracks when I get some time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants