View source: R/single_markers_statistics.R
single_markers_statistics | R Documentation |
A function that computes the statistics and a scatter-plot for each marker.
single_markers_statistics(data_long)
data_long |
a data.frame in long format returned by combiroc_long(). |
This function computes the main statistics of the signal values distribution of each marker in both classes. In addition it also shows the values through scatter plots.
a list object containing:
'Statistics': a dataframe containing the main statistics for each marker in each class.
'Plots': a named list of scatter plots showing signal intensity values.
## Not run:
demo_data # combiroc built-in demo data (proteomics data from Zingaretti et al. 2012 - PMC3518104)
data_long <- combiroc_long(demo_data) # reshape data in long format
sms <- single_markers_statistics(data_long)
sms$Statistics # to visualize the statistics of each single marker
sms$Plots[[1]] # to visualize the scatterplot of the first marker
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.