gene2cellsummary: gene2cellsummary

View source: R/mutcorcell.R

gene2cellsummaryR Documentation

gene2cellsummary

Description

Function 'gene2cellsummary' is a generic function used to produce result summaries of the immune cells driven by a somatic mutation.

Usage

gene2cellsummary(gene, method = "xCell", mutcell)

Arguments

gene

Somatic mutant gene name

method

Method must be one of "xCell","ssGSEA" and "CIBERSORT".

mutcell

The result of 'mutcorcell' funtion.

Value

A matrix shows the short name, full name, pvalue, fdr, cell responses(up or down) of the cells driven by a somatic mutation.

Examples

# get the result of `mutcorcell` funtion.
mutcell<-GetExampleData("mutcell")

# perform the function gene2cellsummary
genecellsummary<-gene2cellsummary(gene="TP53",mutcell=mutcell)

SMDIC documentation built on Aug. 29, 2023, 5:11 p.m.