SNP datasets generated by DArT typically have sequence tag lengths ranging from 20 to 69 base pairs.
gl.report.taglength(x, boxplot = "adjusted", range = 1.5, verbose = NULL)
-- name of the genlight object containing the SNP data [required]
-- if 'standard', plots a standard box and whisker plot; if 'adjusted', plots a boxplot adjusted for skewed distributions [default 'adjusted']
-- specifies the range for delimiting outliers [default = 1.5 interquartile ranges]
-- verbosity: 0, silent or fatal errors; 1, begin and end; 2, progress log ; 3, progress and results summary; 5, full report [default 2 or as specified using gl.set.verbosity]
-- dataframe with loci that are outliers
The minimum, maximum and mean of tag length are provided. Output also is a histogram of tag length, accompanied by a box and whisker plot presented either in standard (boxplot="standard") or adjusted for skewness (boxplot=adjusted).
Refer to Tukey (1977, Exploratory Data Analysis. Addison-Wesley) for standard Box and Whisker Plots and Hubert & Vandervieren (2008), An Adjusted Boxplot for Skewed Distributions, Computational Statistics & Data Analysis 52:5186-5201) for adjusted Box and Whisker Plots.
# NOT RUN {
out <- gl.report.taglength(testset.gl)
# }
Run the code above in your browser using DataLab