R package for QTL mapping for functional traits