For a given column in data, this function will generate a dataframe with all samples. Exports all positions (if only_annotated is false) or only annotated positions (if only_annotated is true).
Value
A position x samples dataframe. Position can be all or only annotated sites. A site column can be added if position_to_rownames = FALSE.
Examples
data('ribo_toy')
count_df <- extract_data(ribo_toy,'count')