get_selected_features: Calculates and transforms default immune features within a...

View source: R/get_select_features.R

get_selected_featuresR Documentation

Calculates and transforms default immune features within a specified sample cohort .

Description

Calculates and transforms default immune features within a specified sample cohort .

Usage

get_selected_features(pdf, feature)

Arguments

pdf

A numeric data frame or matrix with samples as columns and gene/proteins as rows.

feature

A list of character identifying one or more of the four expression based features: EMTscore, AGscore, TCIscore, or IFNGscore

Details

Given a cohort of samples, calculates immune features within the cohort and transforms their values using probability integral transform. The resulting feature values will have a standard uniform distribution between [0,1]

Value

A list with two dataframes containing transformed values for immune features and immune cell type fractions as listed in TCGA_immune_features_list.

Examples

get_selected_features(pdf=sample_mRNA_data,feature="EMTscore")

korkutlab/imogimap documentation built on March 17, 2023, 8:22 a.m.