tests/htmltest/itriplot.R

n <- 100
p <- matrix(runif(3*n), ncol=3)
p <- p / colSums(p)
g <- sample(1:3, n, replace=TRUE)

theplot <- itriplot(p, group=g)

htmlwidgets::saveWidget(theplot, file="itriplot.html", selfcontained=FALSE)

Try the qtlcharts package in your browser

Any scripts or data that you put into this service are public.

qtlcharts documentation built on May 23, 2026, 5:07 p.m.