Rsamtools packages error
1
0
Entering edit mode
maedakus ▴ 10
@maedakus-9484
Last seen 8.2 years ago

Hi,

i am very new to NGS analysis, so now i am learning how to use Rsamtools pakcages with "An introduction to Rsamtools" documents.

however, while i was just following the Rsamtools documents, i got an error as below.

if you know how to solve this, would you mind telling me ?

Section : 3.1 Assembling a BamViews instance

library(KEGG.db)
kid <- revmap(KEGGPATHID2NAME)[["Caffeine metabolism"]]
egid <- KEGGPATHID2EXTID[[sprintf("hsa%s", kid)]]
bamRanges <- transcripts(TxDb.Hsapiens.UCSC.hg18.knownGene,filter=list(gene_id=egid))

Error in .local(x, ...) :
  unused argument (filter = list(gene_id = c("10", "1544", "1548", "1549", "1553", "7498", "9")))

 

 

 

An Introduction to Rsamtools • 789 views
ADD COMMENT
0
Entering edit mode
@martin-morgan-1513
Last seen 4 months ago
United States

Make sure that you are using the current version of R (3.3.1) and Bioconductor (3.3). These are reported when in a new R session you load the package BiocInstaller, as

> library(BiocInstaller)
Bioconductor version 3.3 (BiocInstaller 1.22.3), ?biocLite for help
> R.version.string
[1] "R version 3.3.1 Patched (2016-08-23 r71141)"

And that your packages are up-to-date

> BiocInstaller::biocValid()
[1] TRUE

If problems persist, report (add to the text of your question, above, and post a COMMENT) the output of traceback() (immediately after the error occurs) and sessionInfo()

See these instructions for help with installation

ADD COMMENT

Login before adding your answer.

Traffic: 847 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