make_sample_score_histograms: Histograms of sample scores by class (makes 3 plots)

View source: R/evaluate.R

make_sample_score_histogramsR Documentation

Histograms of sample scores by class (makes 3 plots)

Description

Histograms of sample scores by class (makes 3 plots)

Usage

make_sample_score_histograms(
  scores.df,
  donor0 = "MARS0022.F.16s",
  donor1 = "MARS0043.F.16s",
  title0 = "Healthy (59) Sample Scores",
  title1 = "Asthmatic (36) Sample Scores",
  class1.color = "#DE4968FF",
  class0.color = "#51127CFF",
  both.color = "lightblue",
  x.label = "Sample Score",
  numbins = 10
)

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)

title0

title for control plot

title1

title for case plot

class1.color

hex value, or R color name

class0.color

hex value, or R color name

both.color

hex value, or R color name

x.label

x-axis label

numbins

breaks for hist

Value

3 plots inline


naomiwilson/gnominator documentation built on Feb. 27, 2023, 9:39 p.m.