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")))