Create Custom Plots for Viewing Genetic Association Results


[Up] [Top]

Documentation for package ‘topr’ version 1.0.0

Help Pages

annotate_with_nearest_gene Get the nearest gene for one or more snps
CD_FINNGEN Finngen v5 Crohn‘s disease (CHRONSMALL)
CD_UKBB UKBB Crohns disease (ICD 10 code K50)
create_snpset Create a dataframe that can be used as input for making effect plots
create_snpset_code Show the code/functions used to create a snpset
dat_column_check_and_set dat_column_check_and_set
effect_plot Create a plot comparing effects within two datasets
flip_to_positive_allele_for_dat1 Flip to the positive allele for dataset 1
get_best_snp_per_MB Get the index/lead variants
get_gene Get the genetic position of a gene by gene name
get_genes_by_Gene_Symbol Get the genetic position of a gene by its gene name
get_overlapping_snps_by_pos Get variants that overlap between two datasets
get_snps_within_region Get SNPs/variants within region
get_topr_colors Get the top hit from the dataframe
get_top_snp Get the top hit from the dataframe
locuszoom Create a locuszoom-like plot
manhattan Create a Manhattan plot
match_alleles Match the variants in the snpset by their alleles
qqtopr Create a QQ plot
R2_CD_UKBB Example dataset including the R2 column for the locuszoom plot function
regionplot Create a regionplot
topr topr
UC_UKBB UKBB Ulcerative colitis (ICD 10 code K51)