Documentation
¶
Index ¶
- func GeneIdFromName(name string) string
- func GeneJSON(g Gene) string
- func GetImage(keggId string) image.Image
- func GiveMeSomePathways() []string
- func PathwaysJSON(pws GenePathways) string
- func ReadablePathwayName(id string) string
- func ReadablePathwayNames(ids []string) []string
- func SortPathwayIds(ids []string) []string
- func StoreImage(path, filename string, image image.Image) error
- type ByName
- type Compound
- type Edge
- type Gene
- type GenePathways
- type Genes
- type Graph
- type KeggEntry
- type KeggGraphics
- type KeggPathway
- type KeggRelation
- type KeggSubtype
- type Node
- type Pathway
- type Sequence
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GeneIdFromName ¶
func GiveMeSomePathways ¶
func GiveMeSomePathways() []string
func PathwaysJSON ¶
func PathwaysJSON(pws GenePathways) string
func ReadablePathwayName ¶
func ReadablePathwayNames ¶
func SortPathwayIds ¶
Types ¶
type Compound ¶
type Compound struct { Entry string Name []string Formula string Exact_Mass string Mol_Weight string Remark string Comment string Reaction []string Pathway []string Module string Enzyme []string Brite string DBLinks map[string]string Atom []string Bond []string }
func GetCompound ¶
type Gene ¶
type GenePathways ¶
type Graph ¶
func PathwayGraph ¶
type KeggEntry ¶
type KeggEntry struct { Id string `xml:"id,attr"` Name string `xml:"name,attr"` Type string `xml:"type,attr"` Link string `xml:"link,attr"` Graphics KeggGraphics `xml:"graphics"` }
type KeggGraphics ¶
type KeggPathway ¶
type KeggPathway struct { XMLName xml.Name `xml:"pathway"` Name string `xml:"name,attr"` Org string `xml:"org,attr"` Number string `xml:"number,attr"` Title string `xml:"title,attr"` Image string `xml:"image,attr"` Link string `xml:"link,attr"` Entries []KeggEntry `xml:"entry"` Relations []KeggRelation `xml:"relation"` }
func NewKeggPathway ¶
func NewKeggPathway(keggId string) *KeggPathway
func (*KeggPathway) Print ¶
func (pathway *KeggPathway) Print()
type KeggRelation ¶
type KeggRelation struct { Entry1 string `xml:"entry1,attr"` Entry2 string `xml:"entry2,attr"` Type string `xml:"type,attr"` Subtypes []KeggSubtype `xml:"relation>subtype"` }
type KeggSubtype ¶
type Node ¶
type Node struct { Id int `json:"id"` Name string `json:"name"` Type int `json:"type"` Size int `json:"size"` Description string `json:"description"` ForegroundColor string `json:"fgcolor"` BackgroundColor string `json:"bgcolor"` Shape string `json:"shape"` X int `json:"x"` Y int `json:"y"` Height int `json:"height"` Width int `json:"width"` Fc string `json:"fc"` Pvalue string `json:"pvalue"` }
Click to show internal directories.
Click to hide internal directories.