Convert Repeat Table to Repeats Fragments
repeat_table_to_repeats.Rd
This function converts a repeat table data frame into a list of fragments_repeats. class.
Details
This function takes a repeat table data frame and converts it into a list of repeats fragments. The function allows specifying column names for repeats, frequencies, and unique identifiers.
Examples
repeat_table <- trace::example_data_repeat_table
test_fragments <- repeat_table_to_repeats(
repeat_table,
repeat_col = "repeats",
frequency_col = "height",
unique_id = "unique_id"
)