diff --git a/DESCRIPTION b/DESCRIPTION index 406f66a..2fe4c9e 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -21,7 +21,7 @@ Description: This package provides functions for interfacing with the MultiAssayExperiment are also included. License: GPL-3 Encoding: UTF-8 -RoxygenNote: 7.2.3 +RoxygenNote: 7.3.1 Collate: 'parse_fcns.R' 'generics.R' diff --git a/R/class_def.R b/R/class_def.R index ec7aa1d..306a7c7 100644 --- a/R/class_def.R +++ b/R/class_def.R @@ -872,7 +872,7 @@ setMethod(f = 'do_query', fq$count=NULL SM=df[,colnames(fq),drop=FALSE] - df[,colnames(fq),drop=FALSE]=NULL + df[,colnames(fq)]=NULL df=as.data.frame(t(df)) VM=data.frame(feature_id=rownames(df)) diff --git a/R/metabolomicsWorkbenchR.R b/R/metabolomicsWorkbenchR.R index d78bf59..5f2ba50 100644 --- a/R/metabolomicsWorkbenchR.R +++ b/R/metabolomicsWorkbenchR.R @@ -1,20 +1,21 @@ #' metabolomicsWorkbenchR #' -#' This package provides an interface to the Metabolomics Workbench API. It can -#' be used to query the Metabolomics Workbench for study, compound, protein, -#' gene information and more. All endpoints of the API are available via a +#' This package provides an interface to the Metabolomics Workbench API. It can +#' be used to query the Metabolomics Workbench for study, compound, protein, +#' gene information and more. All endpoints of the API are available via a #' simple \code{do_query} method. A number of convenience functions are included #' to import study data as \code{SummarizedExperiment} objects to facilitate use #' within R and the Bioconductor community. -#' @docType package #' @name metabolomicsWorkbenchR -#' @seealso +#' @seealso #' \itemize{ #' \item \code{\link{do_query}} for a simple example. #' \item \code{browseVignettes("metabolomicsWorkbenchR")} for more info. -#' \item Visit \url{https://www.metabolomicsworkbench.org/tools/mw_rest.php} +#' \item Visit \url{https://www.metabolomicsworkbench.org/tools/mw_rest.php} #' for details of the API. #' } -#' +#' @keywords internal +"_PACKAGE" + NULL ## NULL diff --git a/man/metabolomicsWorkbenchR.Rd b/man/metabolomicsWorkbenchR.Rd index 5178f6d..4581691 100644 --- a/man/metabolomicsWorkbenchR.Rd +++ b/man/metabolomicsWorkbenchR.Rd @@ -2,12 +2,13 @@ % Please edit documentation in R/metabolomicsWorkbenchR.R \docType{package} \name{metabolomicsWorkbenchR} +\alias{metabolomicsWorkbenchR-package} \alias{metabolomicsWorkbenchR} \title{metabolomicsWorkbenchR} \description{ -This package provides an interface to the Metabolomics Workbench API. It can -be used to query the Metabolomics Workbench for study, compound, protein, -gene information and more. All endpoints of the API are available via a +This package provides an interface to the Metabolomics Workbench API. It can +be used to query the Metabolomics Workbench for study, compound, protein, +gene information and more. All endpoints of the API are available via a simple \code{do_query} method. A number of convenience functions are included to import study data as \code{SummarizedExperiment} objects to facilitate use within R and the Bioconductor community. @@ -16,7 +17,17 @@ within R and the Bioconductor community. \itemize{ \item \code{\link{do_query}} for a simple example. \item \code{browseVignettes("metabolomicsWorkbenchR")} for more info. - \item Visit \url{https://www.metabolomicsworkbench.org/tools/mw_rest.php} + \item Visit \url{https://www.metabolomicsworkbench.org/tools/mw_rest.php} for details of the API. } } +\author{ +\strong{Maintainer}: Gavin Rhys Lloyd \email{g.r.lloyd@bham.ac.uk} + +Authors: +\itemize{ + \item Ralf Johannes Maria Weber \email{r.j.weber@bham.ac.uk} +} + +} +\keyword{internal}