controllers

package
v0.0.0-...-15b8e4a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 6, 2018 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var GOTermNames []string

Functions

func AnalysisHandler

func AnalysisHandler(w http.ResponseWriter, r *http.Request)

func CommonGOTermGenesHandler

func CommonGOTermGenesHandler(w http.ResponseWriter, r *http.Request)

func CommonGenesHandler

func CommonGenesHandler(w http.ResponseWriter, r *http.Request)

func CompareModulesHandler

func CompareModulesHandler(w http.ResponseWriter, r *http.Request)

func FileHandler

func FileHandler(w http.ResponseWriter, r *http.Request)

func GeneList

func GeneList(w http.ResponseWriter, r *http.Request)

func GeneSetAbstractHandler

func GeneSetAbstractHandler(w http.ResponseWriter, r *http.Request)

func GeneSummaryHandler

func GeneSummaryHandler(w http.ResponseWriter, r *http.Request)

func ModuleClinicalAnalysisHandler

func ModuleClinicalAnalysisHandler(w http.ResponseWriter, r *http.Request)

func ModuleClinicalHandler

func ModuleClinicalHandler(w http.ResponseWriter, r *http.Request)

func ModuleHandler

func ModuleHandler(w http.ResponseWriter, r *http.Request)

func ModulesHandler

func ModulesHandler(w http.ResponseWriter, r *http.Request)

func NetworkHandler

func NetworkHandler(w http.ResponseWriter, r *http.Request)

func PaperSuggestionHandler

func PaperSuggestionHandler(w http.ResponseWriter, r *http.Request)

func SearchForGOTerms

func SearchForGOTerms(searchTerm string) ([]string, error)

func SearchForGene

func SearchForGene(searchTerm string) ([]string, error)

func SearchForGeneSet

func SearchForGeneSet(searchTerm string) ([]string, error)

func SearchHandler

func SearchHandler(w http.ResponseWriter, r *http.Request)

func SearchResultHandler

func SearchResultHandler(w http.ResponseWriter, r *http.Request)

func TOMGraphHandler

func TOMGraphHandler(w http.ResponseWriter, r *http.Request)

func TissueComparisonHandler

func TissueComparisonHandler(w http.ResponseWriter, r *http.Request)

func TissuesHandler

func TissuesHandler(w http.ResponseWriter, r *http.Request)

func UserListCommonGenesHandler

func UserListCommonGenesHandler(w http.ResponseWriter, r *http.Request)

func UserListHandler

func UserListHandler(w http.ResponseWriter, r *http.Request)

func UserListResultHandler

func UserListResultHandler(w http.ResponseWriter, r *http.Request)

func UserListSubmitHandler

func UserListSubmitHandler(w http.ResponseWriter, r *http.Request)

Types

type Clinical

type Clinical struct {
	Tissues []string
	Cohorts []string
}

type Common

type Common struct {
	Genes []string
}

type GOTerm

type GOTerm struct {
	Name      string
	Id        string
	TissueSet map[string][]mixt.GOTerm
}

func GOTermResults

func GOTermResults(searchTerms []string) ([]GOTerm, error)

type Gene

type Gene struct {
	Name    string
	Modules []string
	Summary string
}

func GeneResults

func GeneResults(genes []string) ([]Gene, []string, error)

type GeneSet

type GeneSet struct {
	Name string
	// tissue -> enrichment scores for each module
	TissueSets map[string][]ModuleEnrichment
}

func SetResults

func SetResults(searchTerms []string) ([]GeneSet, error)

type Genes

type Genes struct {
	Genes   []Gene
	Tissues []string
}

type Message

type Message struct {
	Error string
}

type ModuleComparison

type ModuleComparison struct {
	Modules  []mixt.Module
	Analyses mixt.Analyses
}

type ModuleEnrichment

type ModuleEnrichment struct {
	Name     string
	Pvalue   float64
	Abstract string
}

type Modules

type Modules struct {
	Modules  []mixt.Module
	Overview ModulesOverview
}

type ModulesOverview

type ModulesOverview struct {
	Modules map[string][]mixt.Module
	Tissues []string
	Cohorts []string
}

type Results

type Results struct {
	Papers []eutils.DocumentSummary
}

type SearchResponse

type SearchResponse struct {
	Terms []string
}

type SearchResults

type SearchResults struct {
	Genes    []Gene
	Tissues  []string
	GeneSets []GeneSet
	GOTerms  []GOTerm
}

type Tissue

type Tissue struct {
	Name        string
	Comparisons []string
}

type TissueComparison

type TissueComparison struct {
	TissueA string
	TissueB string
	Cohorts []string
}

type Tissues

type Tissues struct {
	T []Tissue
}

type UserScore

type UserScore struct {
	Name    string
	Tissues []string
	Genes   []string
	Scores  map[string][]mixt.UserScore
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL