Learn R Programming

tcR (version 2.2.4)

vis.rarefaction: Rarefaction statistics visualisation.

Description

Plot a line with mean unique clones.

Usage

vis.rarefaction(.muc.res, .groups = NULL, .log = F, .names = T)

Arguments

.muc.res

Output from the muc function.

.groups

List with names for groups and names of the group members. If NULL than each member is in the individual group.

.log

if T then log-scale the y axis.

.names

If T then print number of samples.

See Also

rarefaction

Examples

Run this code
# NOT RUN {
data(twb)
names(twb)  # "Subj.A" "Subj.B" "Subj.C" "Subj.D"
twb.rar <- rarefaction(twb, .col = "Read.count")
vis.rarefaction(twb.rar, list(A = c("Subj.A", "Subj.B"), B = c("Subj.C", "Subj.D")))
# }

Run the code above in your browser using DataLab