R/rename_rna.R
rename_rna.Rd
Rename RNAs in a RiboClass object
rename_rna(ribo, new_names = c("5S", "5.8S", "18S", "28S"))
A RiboClass object.
Vector of new RNA names (by RNA size order).
a RiboClass with updated RNA names in both data and rna_names sections.
data("ribo_toy") ribo_toy <- rename_rna(ribo_toy ,c("5S","5.8S","18S","28S"))