Skip to contents

A function that computes the statistics and a scatter-plot for each marker.

Usage

single_markers_statistics(data_long)

Arguments

data_long

a data.frame in long format returned by combiroc_long().

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
}