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

Don't use fix "cex" for points (matched peaks) in .plotSingleSpectrum #148

Closed
sgibb opened this issue Aug 12, 2016 · 4 comments
Closed

Don't use fix "cex" for points (matched peaks) in .plotSingleSpectrum #148

sgibb opened this issue Aug 12, 2016 · 4 comments
Assignees

Comments

@sgibb
Copy link
Collaborator

sgibb commented Aug 12, 2016

cf. title; extracted from #129

CC: @yafeng

@sgibb sgibb self-assigned this Aug 12, 2016
@sgibb sgibb closed this as completed in 4492a29 Aug 12, 2016
@sgibb
Copy link
Collaborator Author

sgibb commented Aug 12, 2016

There are a bunch of arguments now:

  • legend.cex
  • fragments.cex
  • peaks.cex
  • peaks.pch
  • peaks.lwd

All work as described in ?par or ?plot.Spectrum.Spectrum.

Not the prettiest example but it shows the new functionality:

plot(msexp[[1]], msexp[[2]], 
     sequences=c("VESITARHGEVLQLRPK", "IDGQWVTHQWLKK"), 
     peaks.lwd=2, peaks.pch=18, peaks.cex=2, fragments.cex=2)

rplot001

@yafeng
Copy link

yafeng commented Aug 15, 2016

@sgibb, thanks! How do I update MSnbase to try this new feature?

@lgatto
Copy link
Owner

lgatto commented Aug 15, 2016

This will install the development version from github.

library(devtools)
install_github("lgatto/MSnbase")

But, you might end into trouble. Ideally, you would also want to move the Bioconductor devel:

library(BiocInstaller)
useDevel()
biocLite()

then the above.

@yafeng
Copy link

yafeng commented Aug 15, 2016

I tried the above command, which didn't work. Looked up on internet, added this command, options(buildtools.check = function(action) TRUE ) . Now it works.

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

No branches or pull requests

3 participants