topr2.0.2 package

Create Custom Plots for Viewing Genetic Association Results

get_genes_in_region

Get SNPs/variants within region

get_genes_by_Gene_Symbol

Get the genetic position of a gene by its gene name

get_topr_colors

Get the top hit from the dataframe

locuszoom

Create a locuszoom-like plot

manhattan

Create a Manhattan plot

annotate_with_nearest_gene

Get the nearest gene for one or more snps

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

effect_plot

Create a plot comparing effects within two datasets

effectplot

Create a plot comparing variant effects in 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_gene_coords

Get the genetic position of a gene by gene name

get_lead_snps

Get the index/lead variants

get_overlapping_snps_by_pos

Get variants that overlap between two datasets

get_sign_and_sugg_loci

Get the index/lead variants

get_snps_within_region

Get SNPs/variants within region

get_snpset

Create a dataframe that can be used as input for making effect plots

get_snpset_code

Show the code/functions used to get a snpset

get_top_snp

Get the top hit from the dataframe

manhattanExtra

Create a Manhattan plot highlighting genome-wide significant and sugge...

match_alleles

Match the variants in the snpset by their alleles

match_by_alleles

Match the variants in the snpset by their alleles

match_by_pos

Get variants that overlap between two datasets

pipe

Pipe operator

qqtopr

Create a quantile quantile (QQ) plot

regionplot

Create a regionplot

topr

topr

A collection of functions for visualizing,exploring and annotating genetic association results.Association results from multiple traits can be viewed simultaneously along with gene annotation, over the entire genome (Manhattan plot) or in the more detailed regional view.

  • Maintainer: Thorhildur Juliusdottir
  • License: LGPL (>= 3)
  • Last published: 2024-06-19