pis {ips} | R Documentation |
Number of Potentially-Informative Sites
Description
Returns the number or positions of potentially-informative (parsimony-informative, phylogenetically-informative) sites in DNA sequence alignment.
Usage
pis(x, what = "fraction", use.ambiguities = FALSE)
Arguments
x |
An object of class |
what |
Either of |
use.ambiguities |
Not yet available. |
Value
Numeric (depending on what
, the number, fraction, or indices
of potentially-informative nucleotide sites).
Examples
data(ips.16S)
# number of potentially-informative sites:
pis(ips.16S, what = "abs")
# proportion of potentially-informative sites:
pis(ips.16S, what = "frac")
# indices of potentially-informative sites:
pis(ips.16S, what = "ind")
[Package ips version 0.0.12 Index]