Learn R Programming

SMDIC (version 0.1.6)

gene2cellsummary: 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)

Value

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

Arguments

gene

Somatic mutant gene name

method

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

mutcell

The result of `mutcorcell` funtion.

Examples

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

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

Run the code above in your browser using DataLab