combiroc_long {combiroc} | R Documentation |
Reshape combiroc data in long format.
Description
A function that simply wraps dyplr::pivot_longer() to reshape data in long format without taking into account NAs.
Usage
combiroc_long(data)
Arguments
data |
a data.frame returned by load_data(). |
Details
This function returns the data in long format (with 'Markers' and 'Values' columns)
Value
a data.frame in long format
Examples
## Not run:
demo_data # combiroc built-in demo data (proteomics data from Zingaretti et al. 2012 - PMC3518104)
# To reshape demo_data in long format
demo_data_long <- combiroc_long(data = demo_data)
## End(Not run)
[Package combiroc version 0.3.4 Index]