Learn R Programming

provenance (version 0.1)

plot.HMdata: Plot a pie chart

Description

Plots an object of class HMdata as a pie chart

Usage

## S3 method for class 'HMdata':
plot(x, sname, annotate = TRUE, col = "default", ...)

Arguments

x
an object of class HMdata
sname
the sample name
annotate
a boolean flag controlling if the pies of the pie-chart should be labeled
col
colour scheme to fill the pie charts
...
optional parameters to be passed on to the graphics object

Examples

Run this code
fname <- system.file("HM.csv",package="provenance")
HM <- read.HMdata(fname)
plot(HM,'N1')

Run the code above in your browser using DataLab