drawCell: Creates a cell picture

View source: R/drawCell.R

drawCellR Documentation

Creates a cell picture

Description

Creates a cell picture

Usage

drawCell(organism_identifier, list_sl_colors, width = NULL, height = NULL)

Arguments

organism_identifier

Taxonomy id of the organism of interest. Can be found at https://www.ncbi.nlm.nih.gov/taxonomy/

list_sl_colors

Named list. The name is the id of the subcellular location, can be found at http://current.geneontology.org/ontology/external2go/uniprotkb_sl2go the value is the colour that each subcellular location should have

width

Width of the resulting image

height

Height of the resulting image

Value

Generates a vector image of the requested cell by the user with coloured subcellular elements.

Examples

drawCell(
  organism_identifier = "9606",
  list_sl_colors = list(
    "SL0095" = "green",
    "SL0154" = "red"
  )
)

svalvaro/drawCell documentation built on Nov. 22, 2022, 5:29 p.m.