ImportFrom statement in package
1
0
Entering edit mode
jjs9bf • 0
@jjs9bf-21970
Last seen 4.5 years ago

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.

R • 430 views
ADD COMMENT
2
Entering edit mode
@james-w-macdonald-5106
Last seen 1 day ago
United States

This type of question should be asked on the devel list bioc-devel@r-project.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

Login before adding your answer.

Traffic: 493 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6