View source: R/TopContributor.R
Get the top contributing genes per geneset
1 2 3 4 5 |
RomaData |
list, the analysis returned by rRoma |
Selected |
vector, integer. The indices of the genesets to plot |
nGenes |
either a value between 0 and 1 or a positive integer larger than 1. If the parameter is an integer larger than 1, it will be interpreted as the number of genes to return per geneset. If the parameter is a value between 1 and 0 it will be interpreted as the ratio or genes to return per geneset (e.g., .1 indicates 10% of the genes of the geneset)). |
Mode |
string, the mode used to determine the top contributing genes. It can be "Wei" (gene weigths will be used) or "Cor" (pearson correlation between gene expression and module score will be used) |
Plot |
boolean, shoul the summary heatmap be plotted? |
ExpressionMatrix |
numerical matrix, the expression matrix in the same format used by the rRoma.R function |
ColorGradient |
vector, string. The colors used for the heatmap. |
cluster_cols |
boolean, should the genesets be reordered according to the dendrogram? |
HMTite |
scalar, string. The title of the heatmap. |
OrderType |
string scalar. The mode of selection for the top contributing genes. The current implementation allow "Abs" (genes with the largest weight in absolute value), "Pos" (genes with the largest weight), and "Neg" (genes with the largest negative weight) |
Transpose |
boolean, should the genes by plotted on the rows instead of the columns? |
CorMethod |
string, the method to use to compute the correlation ("pearson", "kendall", or "spearman"). Methods other than "pearson" will produce potenital problems in the derivation of statistics accociated with the correlation |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.