createCircularGraph: Create a circular graph showing the core ARGs for each ARG...

Description Usage Arguments

View source: R/core_resistome.R

Description

Create a circular graph showing the core ARGs for each ARG Class

Usage

1
2
3
4
5
6
7
createCircularGraph(
  data_arg,
  hjust_val = rep(0, length(unique(data_arg$boot_ci$Drug.Class))),
  distance_labels = -25,
  bar_label_size,
  group_label_size
)

Arguments

hjust_val

A numerical vector with the position of the ARG class text for each ARG class

distance_labels

A numeric stating distance from the ARG class text and the x-axis

data

A dataframe with the percentage of samples that contain each ARG

by_cohort

A boolean stating whether the bars for each cohort should be side-by-side (TRUE) stacked (FALSE)


blue-moon22/resistomeAnalysis documentation built on Jan. 17, 2020, 4:15 a.m.