drawCell | R Documentation |
Creates a cell picture
drawCell(organism_identifier, list_sl_colors, width = NULL, height = NULL)
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 |
Generates a vector image of the requested cell by the user with coloured subcellular elements.
drawCell( organism_identifier = "9606", list_sl_colors = list( "SL0095" = "green", "SL0154" = "red" ) )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.