Return the most/less variant sites of a dataframe or a RiboClass
Source:R/get_variant_sites.R
get_variant_sites.Rd
Return the most/less variant sites of a dataframe or a RiboClass
Arguments
- ribo
a RiboClass object.
- n
Number of top sites to return.
- type_of_variant
Either "less" or "most", to select the top n less variant sites or the top n most variant sites respectively.
- only_annotated
(RiboClass only) Check variability only among annotated sites. Ignored when df is a dataframe.