ABplot: Plotting estimates

View source: R/ABplot.R

ABplotR Documentation

Plotting estimates

Description

Plotting Estimating epimutation

Usage

ABplot(
  pedigree.names,
  output.dir,
  out.name,
  alpha = 0.5,
  geom.point.size = 2,
  geom.line.size = 0.9,
  plot.height = 8,
  plot.width = 11,
  plot.type = "both",
  lsq.line = "theory",
  intract = FALSE
)

Arguments

pedigree.names

Models output AB*.Rdata

output.dir

output directory

out.name

filename

alpha

ggplot parameters

geom.point.size

ggplot parameters

geom.line.size

ggplot parameters

plot.height

ggplot parameters

plot.width

ggplot parameters

plot.type

type of plot (data.only, fit.only, both)

lsq.line

Least Square Regression line (theory or pred)

intract

to see intarctive plot. (useing plotly)

Value

plot

Examples

# Get some toy data
file <- system.file("extdata/dm/","Col_CG_global_estimates_ABneutral.Rdata", package="AlphaBeta")
ABplot(pedigree.names=file, output.dir=getwd(), out.name="ABneutral")

jlab-code/AlphaBeta documentation built on April 23, 2022, 11:02 a.m.