plot_missense: Plot any missense variants

View source: R/plot_missense.R

plot_missenseR Documentation

Plot any missense variants

Description

Plot any missense variants in fine-mapped data.

Usage

plot_missense(
  merged_DT,
  snp_filter = "Support>0",
  label_yaxis = FALSE,
  x_label = "UCS missense\nmutations",
  show.legend = TRUE,
  show_numbers = FALSE,
  show_plot = TRUE
)

Arguments

merged_DT

Merged fine-mapping results data from finemap_loci.

snp_filter

Filter to use apply to SNPs before plotting.

label_yaxis

Whether to label the y-axis.

x_label

x-axis title.

show.legend

logical. Should this layer be included in the legends? NA, the default, includes if any aesthetics are mapped. FALSE never includes, and TRUE always includes. It can also be a named logical vector to finely select the aesthetics to display.

show_numbers

Whether to plot the numeric values or not.

show_plot

Show plot.

See Also

Other annotate: annotate_missense(), biomart_snp_info(), biomart_snps_to_geneInfo(), haplor_epigenetics_enrichment(), haplor_epigenetics_summary(), haplor_haploreg(), haplor_regulomedb(), snps_by_mutation_type()

Examples

## Not run: 
merged_DT <- echodata::get_Nalls2019_merged()
gg_missense <- plot_missense(
    merged_DT = merged_DT,
    snp_filter = "Support>0"
)
gg_missense <- plot_missense(
    merged_DT = merged_DT,
    snp_filter = "Consensus_SNP==TRUE"
)

## End(Not run)

RajLabMSSM/echoannot documentation built on Oct. 26, 2023, 2:41 p.m.