Reshapes peak table from wide to long format
Arguments
- x
A
peak_table
object.- peaks
A character vector specifying the peaks to include. If the character vector is named, the names of the vector elements will be used in place of the original peak names.
- metadata
A character vector specifying the metadata fields to include.
- fixed_levels
Logical. Whether to fix factor levels of features in the order provided. Defaults to
TRUE
.
See also
Other utility functions:
combine_peaks()
,
get_lambdas()
,
get_times()
,
merge_peaks()
,
reshape_chroms()