View source: R/ReadSpecClipboard.R
ReadSpecClipboard | R Documentation |
Read a mass spectrum from the windows clipboard.
ReadSpecClipboard(con = "clipboard")
con |
A connection other than 'clipboard' can be provided. |
A spectrum as two-column matrix.
## Not run:
if (length(grep("Windows", utils::sessionInfo()$running))==1) {
x <- InterpretMSSpectrum::apci_spectrum
write.table(x, "clipboard", sep="\t", row.names=FALSE)
InterpretMSSpectrum::ReadSpecClipboard()
}
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.