This function plots the results of singlescan
plot_singlescan(
data_obj,
singlescan_obj,
chr = NULL,
traits = NULL,
alpha = c(0.01, 0.05),
standardized = TRUE,
color_scheme = c("DO/CC", "other"),
allele_labels = NULL,
include_covars = TRUE,
show_selected = FALSE,
line_type = "l",
lwd = 1,
pch = 16,
cex = 1,
covar_label_size = 0.7
)
a Cape
object
a singlescan object from singlescan
a vector of chromosome names to include in the plot. Defaults to all chromosomes.
a vector of trait names to plot. Defaults to all traits.
the alpha significance level. Lines for significance values will only
be plotted if n_perm > 0 when singlescan
was run. And only alpha values
specified in singlescan
can be plotted.
If TRUE t statistics are plotted. If FALSE, effect sizes are plotted.
A character value of either "DO/CC" or other indicating the color scheme of main effects. If "DO/CC" allele effects can be plotted with the DO/CC colors.
A vector of labels for the alleles if different than those stored in the data_object.
Whether to include covariates in the plot.
If TRUE will indicate which markers were selected for the pairscan.
In order for these to be plotted, select_markers_for_pairscan
must be run first.
as defined in plot
line width, default is 1
see the "points()" R function. Default is 16 (a point).
see the "points()" R function. Default is 1.
default is 0.7