View source: R/reshape_chroms.R
reshape_peaktable | R Documentation |
Reshapes peak table from wide to long format
reshape_peaktable(x, peaks, metadata, fixed_levels = TRUE)
x |
A |
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 |
A data.frame containing the information for the specified
peaks
in long format.
Ethan Bass
Other utility functions:
combine_peaks()
,
get_lambdas()
,
get_times()
,
merge_peaks()
,
reshape_chroms()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.