Plot the inflection point
inflection_point_plot.Rd
Creates a plot of genes ranked by MAIC score with the inflection point annotated and the point density of genes illustrated.
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
Details
Input columns for data_genes
should be (this is the standard output of the MAIC algorithm):
gene
- HGNC gene symbol - chr1...
uID
- Study unique identifier. Column contains study specific gene score - dbln...
maic_score
- MAIC score for gene - dblcontributors
- Studies contributing to MAIC score by method - chr
Examples
if (FALSE) {
if(interactive()){
inflection_point_plot(ARDSMAICR::data_genes, first_break = 2000, incremnt = 1000)
}
}