plot.labelling: Plot method for 'labelling' objects

Description Usage Arguments Details Value Author(s) Examples

Description

Produces different types of summary plots for a labelling object.

Usage

1
2
## S3 method for class 'labelling'
plot(x, type = "patterns", saveplots = F, ...)

Arguments

x

Object of class labelling

type

The type of output produced. Available options are "patterns", "residuals", "summary"

saveplots

Should the plots be saved as a PDF file?

...

Other parameters

Details

The default (type 'patterns') plot shows, for each sample in the class labelling object, the normalized experimental pattern superimposed to its fitted theoretical pattern. By setting type to 'residuals', the function plots the residuals (the differences between experimental and best fitted theoretical patterns). Type 'summary' produces a summary plot showing the estimated percentage abundances with related standard errors. If saveplot is TRUE, the plots are saved to a PDF file in the working directory.

Value

One or more plots

Author(s)

Ruggero Ferrazza

Examples

1
2
3
4
5
6
## Not run: 
plot(x=fitted_abundances, type="patterns", saveplots=TRUE) 
plot(x=fitted_abundances, type="residuals", saveplots=TRUE) 
plot(x=fitted_abundances, type="summary", saveplots=TRUE)

## End(Not run)

RuggeroFerrazza/Lab_Project documentation built on May 9, 2019, 10:36 a.m.