CS_counts_plot: Bar plot of tool-specific CS sizes

View source: R/CS_counts_plot.R

CS_counts_plotR Documentation

Bar plot of tool-specific CS sizes

Description

Loci ordered by UCS size (smallest to largest).

Usage

CS_counts_plot(
  merged_DT,
  show_numbers = TRUE,
  ylabel = "Locus",
  legend_nrow = 3,
  label_yaxis = TRUE,
  top_CS_only = FALSE,
  show_plot = TRUE
)

Arguments

merged_DT

Merged fine-mapping results data from finemap_loci.

show_numbers

Print numbers on top of bars.

ylabel

y-axis label.

legend_nrow

Number of rows for the legend to span over.

label_yaxis

Whether or not to label the y-axis.

top_CS_only

Only include the top 1 CS per fine-mapping method.

show_plot

Show plot.

See Also

Other summarise: CS_bin_plot(), peak_overlap_plot(), plot_dataset_overlap(), super_summary_plot()

Examples

dat <- echodata::BST1
dat$Locus <- "BST1"
gg_CS <- echoannot::CS_counts_plot(merged_DT = dat)

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