info_table(gen, type = c("missing", "ploidy"), percent = TRUE,
plot = FALSE, df = FALSE, returnplot = FALSE, low = "blue",
high = "red", plotlab = TRUE, scaled = TRUE)character. What information should be returned. Choices
are "missing" (Default) and "ploidy". See Description.logical. (ONLY FOR type = 'missing') If
TRUE (default), table and plot will represent missing data as a
percentage of each cell. If FALSE, the table and plot will represent
missing data as raw counts. (Slogical. If TRUE, a simple heatmap will be
produced. If FALSE (default), no heatmap will be produced.logical. If TRUE, the data will be returned as a long
form data frame. If FALSE (default), a matrix with samples in rows
and loci in columns will be returned.logical. If TRUE, a list is returned with two
elements: table - the normal output and plot - the ggplot
object. If FALSE, the table is returned.character. What color should represent no missing data or
lowest observed ploidy? (default: "blue")character. What color should represent the highest amount
of missing data or observed ploidy? (default: "red")logical. (ONLY FOR type = 'missing') If
TRUE (default), values of missing data greater than 0% will be
plotted. If FALSE, the plot will appear un-appended.logical. (ONLY FOR type = 'missing') This is for
when percent = TRUE. If TRUE (default), the color specified
in high will represent the highest observed value of missing data.
If FALSEdf = TRUE), or a list (returnplot
= TRUE) representing missing data per population (type = 'missing')
or ploidy per individual (type = 'ploidy') in a data(nancycats)
nancy.miss <- info_table(nancycats, plot = TRUE, type = "missing")
data(Pinf)
Pinf.ploid <- info_table(Pinf, plot = TRUE, type = "ploidy")Run the code above in your browser using DataLab