Provide statistics for each marker.
Source:R/single_markers_statistics.R
single_markers_statistics.Rd
A function that computes the statistics and a scatter-plot for each marker.
Value
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.
Details
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.
Examples
if (FALSE) {
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
}