plot_p: plot_p

View source: R/Visual-related.R

plot_pR Documentation

plot_p

Description

plot and save p histogram for Emmreml

Usage

plot_p(
  dat,
  p_name,
  x_name,
  bw = 0.005,
  plim = 0.05,
  row,
  col,
  x_axis_size = 50,
  savedir = "NA",
  unitwidth = 1440,
  unitheight = 600
)

Arguments

dat

data frame, emmreml result

p_name

a vector containing the name for the p value

x_name

a vector containing the label for x axis

bw

binwidth, default as 0.005

plim

p value color upper limit: default 0.05

row

row number

col

column number

x_axis_size

letter size, default to 50

savedir

output png dir, default to "NA"

unitwidth

width of a single p histogram, default to 1440

unitheight

height of a single p histogram, default to 600


lycium0605/SHfunction documentation built on Feb. 5, 2023, 11:14 a.m.