plotInfo {PROsetta}R Documentation

Plot scale information

Description

plotInfo is a plotting function to visualize scale-level information.

Usage

plotInfo(
  object,
  data,
  theta = seq(-4, 4, 0.1),
  t_score = FALSE,
  scale_label = c(1, 2, "Combined"),
  color = c("red", "blue", "black"),
  lty = c(3, 2, 1)
)

## S4 method for signature 'SingleGroupClass'
plotInfo(
  object,
  data,
  theta = seq(-4, 4, 0.1),
  t_score = FALSE,
  scale_label = c(1, 2, "Combined"),
  color = c("red", "blue", "black"),
  lty = c(3, 2, 1)
)

Arguments

object

a SingleGroupClass object from runCalibration.

data

a PROsetta_data object.

theta

theta values to plot on the x-axis.

t_score

set to TRUE to convert thetas into T-scores.

scale_label

names of each scale.

color

line colors to plot.

lty

line types to plot.

Examples


out_calib = runCalibration(data_asq, technical = list(NCYCLES = 1000))
plotInfo(out_calib, data_asq)



[Package PROsetta version 0.3.5 Index]