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

View source: R/get_features.R

get_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_features(pdf)

Arguments

pdf

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

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_features(pdf=sample_mRNA_data)

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