tests/htmltest/iplot.R

rowmedian <- apply(grav$pheno, 1, median, na.rm=TRUE)
grp <- as.numeric(rowmedian < median(unlist(grav$pheno), na.rm=TRUE))+1
theplot <- iplot(grav$pheno$T0, grav$pheno$T60,
                 group=grp,
                 indID=paste0("RIL", 1:nind(grav)),
                 chartOpts=list(xlab="Angle at time 0", ylab="Angle at 60 min"))

htmlwidgets::saveWidget(theplot, file="iplot.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 Jan. 8, 2022, 1:06 a.m.