gene2cellsummary: gene2cellsummary

Description Usage Arguments Value Examples

View source: R/mutcorcell.R

Description

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

Usage

1
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

1
2
3
4
5
# get the result of `mutcorcell` funtion.
mutcell<-GetExampleData("mutcell")

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

SMDIC documentation built on Nov. 13, 2020, 5:06 p.m.