Skip to content

Commit

Permalink
Updated description and import/export statements
Browse files Browse the repository at this point in the history
  • Loading branch information
hechth committed Oct 5, 2021
1 parent 7958ffe commit 3820ca3
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 4 deletions.
9 changes: 6 additions & 3 deletions DESCRIPTION
Expand Up @@ -8,7 +8,9 @@ Maintainer: Karan Uppal <kuppal2@emory.edu>
Description: xMSannotator includes functions for metabolite annotation using HMDB, KEGG, LipidMaps, T3DB, and ChemSpider. The package also includes utilites for querying KEGG using the REST interface.
License: GPL2.0
LazyLoad: no
Depends: R (>= 3.5.0)
Imports:
methods,
XML,
R2HTML,
WGCNA,
Expand All @@ -28,10 +30,11 @@ Imports:
limma,
tidyr,
foreach,
magrittr,
dataCompareR
magrittr
Suggests:
covr,
testthat (>= 3.0.0)
testthat (>= 3.0.0),
dataCompareR,
patrick
Config/testthat/edition: 3
RoxygenNote: 7.1.1
8 changes: 8 additions & 0 deletions NAMESPACE
Expand Up @@ -20,16 +20,24 @@ export(group_by_rt_histv2)
export(multilevelannotation)
export(multilevelannotationstep2)
export(overlapmzchild)
export(remove_water_adducts)
export(replace_with_module)
import(WGCNA)
import(dplyr)
import(dynamicTreeCut)
import(flashClust)
import(methods)
import(plyr)
import(snow)
import(tidyr)
import(utils)
importFrom(Rdisop,getMolecule)
importFrom(foreach,"%do%")
importFrom(foreach,"%dopar%")
importFrom(foreach,foreach)
importFrom(grDevices,dev.off)
importFrom(grDevices,pdf)
importFrom(graphics,hist)
importFrom(graphics,par)
importFrom(graphics,plot)
importFrom(magrittr,"%>%")
1 change: 1 addition & 0 deletions R/get_chemscorev1.6.71.R
Expand Up @@ -148,6 +148,7 @@ compute_score <- function(adduct_weights, cur_adducts_with_isotopes) {
return(score[1])
}

#' @export
remove_water_adducts <- function(curformula, mchemicaldata) {
numoxygen <- check_element(curformula, "O")
water_adducts <- c("M+H-H2O", "M+H-2H2O", "M-H2O-H")
Expand Down
4 changes: 4 additions & 0 deletions R/multilevelannotation.R
Expand Up @@ -47,6 +47,10 @@ call_multilevelannotationstep2 <- function(arg1,
}
}

#' @import utils
#' @import methods
#' @importFrom graphics hist par plot
#' @importFrom grDevices dev.off pdf
#' @import flashClust
#' @import dynamicTreeCut
#' @import WGCNA
Expand Down
2 changes: 1 addition & 1 deletion conda/environment-dev.yml
Expand Up @@ -5,7 +5,7 @@ channels:
- defaults
- r
dependencies:
- r-base
- r-base >=3.5.0
- boost-cpp
- r-biocmanager
- r-rsqlite
Expand Down

0 comments on commit 3820ca3

Please sign in to comment.