genes_barplot | R Documentation |
This function creates a clustered bar plot between all samples in the expression matrix for the selection of genes.
genes_barplot(sub.expression.matrix, log.transformation = TRUE)
sub.expression.matrix |
subset of the expression matrix containing only selected genes |
log.transformation |
whether expression should be shown on log (default) or linear scale |
The bar plot as a ggplot object.
expression.matrix.preproc <- as.matrix(read.csv( system.file("extdata", "expression_matrix_preprocessed.csv", package = "bulkAnalyseR"), row.names = 1 ))[1:500,] print(genes_barplot(head(expression.matrix.preproc,5)))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.