construct_snp_labels: Construct SNP labels Construct SNP labels for Manhattan plot....

View source: R/construct_snp_labels.R

construct_snp_labelsR Documentation

Construct SNP labels Construct SNP labels for Manhattan plot. Support function for plot_locus.

Description

Construct SNP labels

Construct SNP labels for Manhattan plot. Support function for plot_locus.

Usage

construct_snp_labels(
  dat,
  labels_subset = c("Lead", "CS", "Consensus"),
  mean_only_text = c("Consensus", "UCS"),
  method_specific_consensus = TRUE,
  remove_duplicates = TRUE,
  grouping_vars = c("SNP"),
  merge_with_input = FALSE,
  base_size = 5,
  verbose = FALSE
)

Arguments

dat

Data to query transcripts with.

labels_subset

Include colored shapes and RSID labels to help highlight SNPs belonging to one or more of the following groups: Lead, Credible Set, Consensus.

mean_only_text

Only show the text labels with RSIDs in the "mean" Method (not all the other method-specific facets).

method_specific_consensus

Only label Consensus SNPs that are also Credible Set SNPs for a given method.

verbose

Print messages.


RajLabMSSM/echoplot documentation built on Oct. 24, 2023, 2:41 a.m.