You can clone with
HTTPS or Subversion.
hapCount <- 4
markerCount <- 129 # 128 results in no warning
fakeyData <- data.frame(
value = runif(markerCount* hapCount),
markerPosition = paste("pos", rep(1: markerCount, hapCount), sep=""),
haplotype = paste("hap", rep(1: hapCount, each= markerCount), sep=""))
ggplot(fakeyData, aes(x=markerPosition, y=value, fill=haplotype, color=haplotype)) +
# Warning message:
# position_stack requires constant width: output may be incorrect
This sounds like a great feature, but unfortunately we don't currently have the development bandwidth to support it. If you'd like to submit a pull request that implements this feature, please follow the instructions in the development vignette.