Skip to contents

Creates a plot of genes ranked by MAIC score with the inflection point annotated and the point density of genes illustrated.

Usage

inflection_point_plot(data, first_break = 1000, increment = 500)

Arguments

data

Data frame in the format of ARDSMAICR::data_genes

first_break

Integer value for first break on x-axis after inflection point -- Default = 1000

increment

Integer value for size of increment for subsequent breaks on x-axis -- Default = 500

Value

A point density plot

Details

Input columns for data_genes should be (this is the standard output of the MAIC algorithm):

  • gene - HGNC gene symbol - chr

  • 1...

  • uID - Study unique identifier. Column contains study specific gene score - dbl

  • n...

  • maic_score - MAIC score for gene - dbl

  • contributors - Studies contributing to MAIC score by method - chr

Examples

if (FALSE) {
if(interactive()){
 inflection_point_plot(ARDSMAICR::data_genes, first_break = 2000, incremnt = 1000)
 }
}