Displaying 1 result from an estimated 1 matches for "virome".
Did you mean:
chrome
2012 Dec 17
1
Code works standalone, yet same code fails when part of package
...Below is a transcript of my R session. First I load the code from a file, using source(). Then I execute it fine. Then I remove the function object, I load the package, and execute the same code from the package - and I get an error.
Please help!
Mick
> library(Rsamtools)
> source("viRome/R/read.bam.R")
> read.bam
function(bamfile=NULL, chr=NULL, start=1, end=1e07, what=c("qname", "flag",
"rname", "strand", "pos", "qwidth", "mapq", "cigar", "mrnm", "mpos",
&quo...