alignment_entropy | R Documentation |
Alignment entropy
alignment_entropy(
x,
mask_gaps = 0.2,
count_gaps = FALSE,
method = "ML",
unit = "log",
return_extra = FALSE
)
x |
A DNAbin or AAbin object |
mask_gaps |
The threshold of gaps allowed before a position in the alignment is masked |
count_gaps |
Whether gaps should be counted within entropy calculations. Default is FALSE. |
method |
the method employed by |
unit |
the unit in which entropy is measured. The default is "nats" (natural units). For computing entropy in "bits" set unit="log2". |
return_extra |
Whether to return a dataframe including extra columns including individual base counts, gap proportions and number of bases at each position |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.