Converts epilogos score output, with one score column per chromatin state, to one
row per bin and state with seqnames, start, end, state, and score columns.
Underscores in state names are replaced with spaces and states are ordered as their
columns.
Arguments
- data
Data frame or GRanges of epilogos scores. The first three columns of a data frame are taken as the chromosome, start, and end; every other column except
strandandwidthis a state score.- state_names
Names of the states in the order of the score columns, default: the 12-state ChromHMM model in epilogos order. Use
NULLto keep the existing column names.
