check_diff_genes: Check a list of genes how they show difference.

Description Usage Arguments Value Examples

View source: R/check_diff_genes.R

Description

How does a gene or a list of genes show difference between two group. The boxplot or heatmap will be drawed. just a wrap function of ggpubr and pheatmap.

Usage

1
check_diff_genes(gene, genes_expr, group_list)

Arguments

gene

A vector contains all gene ids of interest. Gene ids should be gene symbol.

genes_expr

An expression matrix, the rownames should be gene symbol.

group_list

A vector contains the group information of each samples in expression matrix

Value

A figure : boxplot or heatmap

Examples

1
2
3
4
5
6
attach(GSE95166)
check_diff_genes('NKILA',genes_expr,group_list )
x=DEG$logFC
names(x)=rownames(DEG)
cg=c(names(head(sort(x),100)),  names(tail(sort(x),100)))
check_diff_genes(cg,genes_expr,group_list )

jmzeng1314/AnnoProbe documentation built on June 2, 2020, 4:14 a.m.