compute_slope: Compute Slope of a Gene

View source: R/filter_by.R

compute_slopeR Documentation

Compute Slope of a Gene

Description

This function is used to compute the slope of the gene passed as input

Usage

compute_slope(screenR_Object, genes, group_var)

Arguments

screenR_Object

The ScreenR object obtained using the create_screenr_object

genes

The genes for which the slope as to be computed. Those genes are the result of the three statistical methods selection

group_var

The variable to use as independent variable (x) for the linear model

Value

A tibble containing in each row the gene and the corresponding Slope

Examples

object <- get0("object", envir = asNamespace("ScreenR"))

compute_slope(object,
    genes = c("Gene_42", "Gene_24"),
    group_var = c("T1", "T2", "TRT")
)

EmanuelSoda/ScreenR documentation built on Sept. 29, 2023, 12:33 a.m.