Question: ImportFrom statement in package
gravatar for jjs9bf
7 weeks ago by
jjs9bf0 wrote:

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 • 62 views
ADD COMMENTlink modified 7 weeks ago by James W. MacDonald51k • written 7 weeks ago by jjs9bf0
Answer: ImportFrom statement in package
gravatar for James W. MacDonald
7 weeks ago by
United States
James W. MacDonald51k wrote:

This type of question should be asked on the devel list 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 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 COMMENTlink written 7 weeks ago by James W. MacDonald51k
Please log in to add an answer.


Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 16.09
Traffic: 195 users visited in the last hour