Download the pathway image

get_pathway_image(pathway)

image_dimension(pathway)

Arguments

pathway

A BioCarta pathway ID, a MSigDB ID or a biocarta_pathway object. All valid BioCarta pathway IDs are in all_pathways(). The list of MSigDB IDs for BioCarta pathways can be found at https://www.gsea-msigdb.org/gsea/msigdb/human/genesets.jsp?collection=CP:BIOCARTA.

Value

get_pathway_image() returns a raster object. image_dimension() returns an integer vector of the height and width of the image.

Examples

img = get_pathway_image("h_RELAPathway")
class(img)
#> [1] "raster"
# you can directly plot the raster object
plot(img)


image_dimension("h_RELAPathway")
#> [1] 485 605