View source: R/plotSubSEScurve.R
plotSubSEScurve | R Documentation |
Draw a sample enrichment score curve graph of a single or all subtypes.
plotSubSEScurve(inputdata, spwid = "", phenotype = "all")
inputdata |
A list of result data generated by function 'SubSEA' or 'DCSA'. |
spwid |
The subpathway id which the user wants to plot. |
phenotype |
The 'phenotype“ specifies which phenotypic phenotype set enrichment curve is drawn for subpathway. When 'phenotype="all"' (default), the phenotype set enrichment score curve graph of subpathway under all phenotypes is drawn. |
plotSubSEScurve
Plot a phenotype set enrichment score curve graph of a subpathway under all phenotypes or specified phenotype, including the location of the maximum enrichment score (ES) and the leading-edge subset. This function can only be used for the results of the 'SubSEA' function.
a plot
an enrichment score curve graph
Xudong Han, Junwei Han, Qingfei Kong
# get the results of the SubSEA function for breast cancer subtypes.
Subspwresult<-get("Subspwresult")
# plot enrichment score curve of the subpathway 00120_9 in all breast cancer subtypes.
plotSubSEScurve(Subspwresult,spwid="00120_9",phenotype="all")
# plot enrichment score curve of the subpathway 00120_9 in the basal breast cancer subtypes.
plotSubSEScurve(Subspwresult,spwid="00120_9",phenotype="Basal")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.