gseaNb
ggplot2 object
GSEA enrich results.
which plot to show, 1/2/3, default is 3.
curve line size. default is 0.8.
which pathway name to plot.
whether to remove segment on the curve plot, default is FALSE.
the width or the term name, defalut is 40.
segment color on the curves, defalut is "red".
whether add gene name on the curve, defalut is FALSE.
gene name label color, defalut is NULL.
arrow angle, defalut is 20.
arrow line length, defalut is 0.2.
arrow end, defalut is "last".
arrow type, defalut is "closed".
curve color, defalut is c("#76BA99", "#EB4747", "#996699").
heatmap color, defalut is c("#08519C", "#A50F15").
gene rank fill color, defalut is c("#08519C", "white", "#A50F15").
gene rank plot X axis breaks, defalt is 5000.
the relative height when "subplot = 2" to the vertical line plot, defalut is 0.3.
the gene label force, refer to geom_text_repel function, defalut is 20.
refer to geom_text_repel function, defalut is 50.
gene label text size, defalut is 4.
whether show new style of plot, defalut is FALSE.
new style plot with point layer, defalut is TRUE.
new style plot curve color, defalut is c("#336699", "white", "#993399").
new style plot heatmap color, defalut is c("#336699", "white", "#993399").
whether remove new style plot heatmap, defalut is FALSE.
whether add pvalue and NES, defalut is FALSE.
set pvalue label x position, defalut is 0.9.
set pvalue label y position, defalut is 0.9.
set pvalue label text size, defalut is 4.
pvalue label color, defalut is "grey30".
pvalue label hjust, defalut is 1.
whether remove GO term prefix like "GOBP/KEGG/CC/MF_*", defalut is TRUE.
the NES score digits retained, defalut is 2.
the pvalue and pajust value digits retained, defalut is 2.
whether add top n genes on plot, defalut is FALSE.
the number of genes to be marked on plot, defalut is 5.
whether input is gseKEGG object, defalut is FALSE.
the legend position, defalut is "right".
add target gene expression heatmap, defalut is FALSE.
the expression matrix,tpm/fpkm/rpkm format, defalut is NULL.
whether scale the expression matrix, defalut is TRUE.
the expression matrix sample orders, defalut is NULL.
the expression colors, defalut is c('blue','white','red').
whether show the heatmap legend, defalut is TRUE.
the relative height to the main plot, defalut is 0.4.
the gene lable text size, defalut is 6.
whether facet expression heatmap, defalut is FALSE.
the facet plot scale argumrnt, defalut is "free".
the facet term ID orders, defalut is NULL.
add your gene label on rank plot, defalut is NULL.
the gene label nudge y on rank plot, defalut is 2.
Jun Zhang
# load data
test_data <- system.file("extdata", "gseaRes.RDS", package = "GseaVis")
gseaRes <- readRDS(test_data)
# all plot
gseaNb(object = gseaRes,
geneSetID = 'GOBP_NUCLEOSIDE_DIPHOSPHATE_METABOLIC_PROCESS',
subPlot = 2)
Run the code above in your browser using DataLab