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

Export core function to identify isotopes #52

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
Package: CAMERA
Version: 1.43.2
Version: 1.43.3
Date: 2020-02-10
Title: Collection of annotation related methods for mass spectrometry data
Author: Carsten Kuhl, Ralf Tautenhahn, Hendrik Treutler, Steffen Neumann {ckuhl|htreutle|sneumann}@ipb-halle.de, [email protected]
Maintainer: Steffen Neumann <[email protected]>
Depends: R (>= 2.1.0), methods, Biobase, xcms (>= 1.13.5)
Imports: methods, xcms, RBGL, graph, graphics, grDevices, stats, utils, Hmisc, igraph
Imports: RBGL, graph, graphics, grDevices, stats, utils, Hmisc, igraph
Suggests: faahKO, RUnit, BiocGenerics
Enhances: Rmpi, snow
Description: Annotation of peaklists generated by xcms, rule based annotation
Expand All @@ -16,4 +16,4 @@ ByteCompile: TRUE
URL: http://msbi.ipb-halle.de/msbi/CAMERA/
BugReports: https://github.com/sneumann/CAMERA/issues/new
biocViews: ImmunoOncology, MassSpectrometry, Metabolomics
RoxygenNote: 5.0.1
RoxygenNote: 7.1.0
9 changes: 8 additions & 1 deletion NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@ importFrom("grDevices", "rgb")
importFrom("stats", "cor.test")
importFrom("utils", "flush.console", "object.size", "read.table")
importFrom("igraph", "graph.data.frame", "label.propagation.community")
importFrom("graphics", "lines")
importFrom("grDevices", "rainbow")
importFrom("stats", "cutree", "density", "dist", "hclust", "median",
"na.omit", "prcomp", "pt")
importFrom("utils", "tail", "write.table")


importClassesFrom(Biobase, "Versioned")
Expand All @@ -31,7 +36,9 @@ export("annotate",
"xsAnnotate",
"compoundQuantiles",
"compoundLibraries",
"massWindowSizes")
"massWindowSizes",
"calcIsotopeMatrix",
"findIsotopePeaks")

exportClasses("xsAnnotate")
exportClasses("compoundQuantiles")
Expand Down
4 changes: 2 additions & 2 deletions R/fct_findAdducts.R
Original file line number Diff line number Diff line change
Expand Up @@ -76,13 +76,13 @@ annotateGrp <- function(ipeak, imz, rules, mzabs, devppm, isotopes, quasimolion,
return(NULL);
};

#Entferne Hypothesen, welche gegen OID-Score&Kausalität verstossen!
#Entferne Hypothesen, welche gegen OID-Score&Kausalitaet verstossen!
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bonus points for translating german comments ...

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:) I leave that to you :) I just removed to german characters because devtools::document() failed crying for non-UTF8 encoding.

hypothese <- checkOidCausality(hypothese, rules[rules.idx, ]);
if(nrow(hypothese) < 2){
return(NULL);
};

#Prüfe IPS-Score
#Pruefe IPS-Score
hypothese <- checkIps(hypothese)
if(nrow(hypothese) < 2){
return(NULL)
Expand Down
Loading