gene2cellsummary {SMDIC}R 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)

[Package SMDIC version 0.1.5 Index]