View source: R/display-functions.R
display.profiles | R Documentation |
Display a single or multiple profiles. Optionally the profile could be plotted over a background color gradient representing the ct data (or other values).
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)
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. |
Other Profiles: display.profile
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.