display.profiles: Display profiles

View source: R/display-functions.R

display.profilesR Documentation

Display profiles

Description

Display a single or multiple profiles. Optionally the profile could be plotted over a background color gradient representing the ct data (or other values).

Usage

display.profiles(profile.values, profile.ct = NULL,
  show.ct.legend = TRUE, y.axis.name = NULL, x.axis.name = NULL,
  name = NULL, depth.lim = NULL, file.name = NULL, height = 7,
  width = 7, dpi = 300, show.plot = TRUE, return.plot = FALSE)

Arguments

profile.values

The main profiles dataframe to be plotted. It can contain a single profile or a multiple of profiles.

profile.ct

the Background ct (or other data) profile.

show.ct.legend

Boolean. A colorbar for the levels containted in profile.ct is displayed if TRUE.

y.axis.name

Optional label for the y axis (default uses the data stored in profile.values if unique).

x.axis.name

Optional label for the x axis (default uses the data stored in profile.values if unique).

name

Optional label for the set of profiles.

depth.lim

Optional limits for the x axis.

file.name

File name for saving the plot.

height

The height of the saved plot image (inches).

width

The width of the saved plot image (inches).

show.plot

Show plot.

return.plot

return a ggplot2 plot if TRUE.

See Also

Other Profiles: display.profile


planit-group/Rplanit documentation built on Dec. 5, 2022, 11:10 p.m.