I'm building an R package myself for biocondutor, and if I want to use another package on bioconductor in my package, for the importFrom statement in roxygen, would @importFrom Packagename functionname be sufficient, or is there something else I need since the package is through bioconductor and not CRAN.
Question: ImportFrom statement in package
7 weeks ago by
jjs9bf • 0
jjs9bf • 0 wrote:
ADD COMMENT • link •
Answer: ImportFrom statement in package
7 weeks ago by
James W. MacDonald ♦ 51k
James W. MacDonald ♦ 51k wrote:
This type of question should be asked on the devel list firstname.lastname@example.org instead of here. That said, here is the top part of the affycoretools.R file in my affycoretools package:
#' @importMethodsFrom affy hist mas5calls #' @importMethodsFrom AnnotationDbi Term get dbconn select mapIds #' @importMethodsFrom Biobase annotation exprs featureNames sampleNames write.exprs pData featureData<- AnnotatedDataFrame #' @importFrom S4Vectors DataFrame #' @importFrom affy AffyRNAdeg mas5 plotAffyRNAdeg plotDensity ReadAffy rma #' @importFrom Biobase addVigs2WinMenu assayDataElement featureData ExpressionSet #' @importFrom graphics layout legend par text #' @importFrom grDevices dev.off rainbow recordPlot replayPlot #' @importFrom stats median p.adjust prcomp #' @importFrom utils write.table #' @importFrom limma topTable vennCounts decideTests romer ids2indices vennDiagram #' @importFrom edgeR cpm glmLRT glmQLFTest glmTreat topTags #
Does that make sense?
ADD COMMENT • link
Please log in to add an answer.
Powered by Biostar version 16.09
Traffic: 195 users visited in the last hour