due to the line:
chrList <- paste("chr", sort(as.numeric(gsub("chr", "", chrList))), sep="")
from:
scripts/convertPileupToQuasar.R
chromosomes such as X get encoded to NA
a worked around this problem by using the naturalsort library:
library('naturalsort')
chrList <- naturalsort(chrList, decreasing=FALSE, na.last=NA)
due to the line: chrList <- paste("chr", sort(as.numeric(gsub("chr", "", chrList))), sep="") from: scripts/convertPileupToQuasar.R chromosomes such as X get encoded to NA
a worked around this problem by using the naturalsort library: library('naturalsort') chrList <- naturalsort(chrList, decreasing=FALSE, na.last=NA)