model_plot: Outlier visualization

Description Usage Arguments Examples

View source: R/model_plot.R

Description

Generates separate plots of genic integration frequency vs. gene length for each sample being analyzed. Depicts model boundaries within gray shaded areas and colors upper and lower outliers blue and red, respectively.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
model_plot(
  df,
  output.type = c("single", "combo"),
  labels = NULL,
  label.size = NULL,
  write.out = c("yes", "no"),
  num.col = NULL,
  h = NULL,
  w = NULL,
  output.dir = NULL,
  file.name = NULL
)

Arguments

df

The dataframe generated with random_frag_model()

output.type

If a grid of plots is desired define as "combo", if individual plots are desired define as "single".

labels

The labels to be assigned to each panel. Use "AUTO" to automatically assign alphabetical labels starting with "A". For custom labels, enter them as a character vector.

label.size

The size of the labels on the combined plot output.

write.out

Determines whether or not to save the generated plot. To save the plots, define as "yes".

num.col

The desired number of columns in the cowplot output

h

The desired height of the generated plot

w

The desired width of the generated plot

output.dir

The directory in which the files will be output. If the working directory is the desired directory, enter NULL.

file.name

The name of the output file. Enter as a character string.

Examples

1

gbedwell/rigrag documentation built on June 23, 2021, 10:32 p.m.