Displaying 1 result from an estimated 1 matches for "srr389185_vs_sinv_sort".
Did you mean:
srr389185_vs_sinv_sorted
2012 Dec 17
1
Code works standalone, yet same code fails when part of package
...<- rep(chr, nrow(df))
if (removeN==TRUE) {
ns <- grep("N", df$seq)
if (length(ns) > 0) {
df <- df[-ns,]
}
}
return(as.data.frame(df))
}
> bam <- read.bam("../../example/SRR389185_vs_SINV_sorted.bam", chr="SINV")
> # works! remove the function
> rm(read.bam)
> # load the package
> library(viRome)
Loading required package: seqinr
Attaching package: ?seqinr?
The following object(s) are masked from ?package:Biostrings?:
translate
Loading required package:...