Plot the count for each noise type in a barplot.
plotNoisetypes(noisetypes, percentage = TRUE, total = NA, stacked = FALSE, sample.id = "")
noisetypes | the noisetypes object |
---|---|
percentage | plot the percentage instead of the number |
total | total number of items (in case not all items have a noise type assigned, needed to compute percentages with reference to all items) |
stacked | plot a stacked barplot |
sample.id | the sample identifier (optional) |