View source: R/check_diff_genes.R
check_diff_genes | R Documentation |
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.
check_diff_genes(gene, genes_expr, group_list)
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 |
A figure : boxplot or heatmap
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 )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.