check_diff_genes {AnnoProbe}R Documentation

Check a list of genes how they show difference.

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

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

attach(GSE95166)
check_diff_genes('LRCH3',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 )


[Package AnnoProbe version 0.1.6 Index]