get_inflection_points: Calculate inflection points of co-essential data frame

View source: R/get_inflection_points.R

get_inflection_pointsR Documentation

Calculate inflection points of co-essential data frame

Description

Calculates the inflection point of the positive and negative curves to determine threshold for co-essential genes. See ?coessential_map for details.

Usage

get_inflection_points(input_coessential_df = NULL, test = FALSE)

Arguments

input_coessential_df

data frame, A data frame output from coessential_map(), Default: NULL.

test

logical. Used for examples. Default: FALSE.

Details

Description of output data frame

  • Inflection_point_pos_byRank - Rank threshold for positive curve.

  • Inflection_point_neg_byRank - Rank threshold for negative curve.

Value

A data frame containing rank at which the threshold should be drawn for positive and negative co-essential genes.

Examples

gretta_data_dir <- './GRETTA_example/'
gretta_output_dir <- './GRETTA_example_output/'

if(!dir.exists(gretta_data_dir)){
  download_example_data(".")
}

inflection_points <- get_inflection_points(input_coessential_df = coess_df, test = TRUE)


ytakemon/GINIR documentation built on Dec. 17, 2024, 7:39 a.m.