ABplot: Plotting estimates

Description Usage Arguments Value Examples

View source: R/ABplot.R

Description

Plotting Estimating epimutation

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
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

1
2
3
# 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")

AlphaBeta documentation built on Nov. 8, 2020, 6:30 p.m.