Get SNPs position ggplot with mappings to combine with other ggplots. Optionally add labels and an upper subset.
ggplot_snp_pos(
df_snp,
upper_subset = NULL,
labels_colname = NULL,
colors = snp_position_colors(nrow(df_snp))
)ggplot
SNP annotation data frame with a column named position and, if specified, one named as the labels_colname parameter.
Subset of df_snp for the positions on the upper side
Optional column name of df_snp to use as SNP labels.
Colors for each SNP