Skip to content

Instantly share code, notes, and snippets.

@chasemc
Created July 2, 2020 01:55
Show Gist options
  • Save chasemc/8c8e8bc3895a8123a970579f0ca69884 to your computer and use it in GitHub Desktop.
Save chasemc/8c8e8bc3895a8123a970579f0ca69884 to your computer and use it in GitHub Desktop.
Use IDBac to create an interactive mirror plot comparing two samples
a <- IDBacApp::assembleMirrorPlots(
sampleID1 = "apples",
sampleID2 = "oranges",
minFrequency = 1,
lowerMassCutoff = 100,
upperMassCutoff = 3000,
minSNR = 6,
tolerance = 0.002,
pool1 = pool,
pool2 = pool,
normalizeSpectra = FALSE,
type = "small"
)
IDBacApp:::mirrorPlot(a)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment