make_overlapping_score_histogram: Make Histogram of sample scores with both classes overlapping

View source: R/evaluate.R

make_overlapping_score_histogramR Documentation

Make Histogram of sample scores with both classes overlapping

Description

Make Histogram of sample scores with both classes overlapping

Usage

make_overlapping_score_histogram(
  scores.df,
  donor0 = "MARS0022.F.16s",
  donor1 = "MARS0043.F.16s",
  class1.color = "#DE4968FF",
  class0.color = "#51127CFF",
  x.label = "Sample Score",
  y.label = "Frequency",
  plot.title = "Score Histogram",
  numbins = 30
)

Arguments

scores.df

dataframe with column named "score" containing numeric score values and "class" column containing class names per sample by row

donor0

control class donor sample name (e.g. healthyPatient32)

donor1

case class donor sample name (e.g. asthmaPatient19)

class1.color

hex value, or R color name

class0.color

hex value, or R color name

x.label

x-axis label

y.label

y-axis label

plot.title

for ggtitle

numbins

breaks for hist

Value

ggplot


naomiwilson/gecko documentation built on March 1, 2023, 12:49 p.m.