| plot_refseq_pq | R Documentation |
It is a wrapper of the function plot_refseq_extremity_pq(). See
?plot_refseq_extremity_pq for more examples.
If hill_scale is not null, Hill diversity number are used to represent the distribution
of the diversity (equitability) along the sequences.
plot_refseq_pq(
physeq,
q = NULL,
first_n = min(Biostrings::width(physeq@refseq)),
last_n = NULL,
min_width = first_n
)
physeq |
(required) a |
q |
(vector) A vector defining the Hill number wanted. Set to NULL if
you don't want to plot Hill diversity metrics. Hill numbers are more
appropriate in DNA metabarcoding studies when |
first_n |
(int, default 10) The number of nucleotides to plot the 5' extremity. |
last_n |
(int, default 10) The number of nucleotides to plot the 3' extremity. |
min_width |
(int, default 0) Select only the sequences from physeq@refseq with using a
minimum length threshold. If |
A ggplot2 object
Adrien Taudière
plot_refseq_pq(data_fungi_mini)
## Not run:
plot_refseq_pq(data_fungi_mini, q = c(2), first_n = 300)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.