v0.0.0-...-5130504 Latest Latest

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

Go to latest
Published: Jun 3, 2017 License: Apache-2.0 Imports: 16 Imported by: 0




This section is empty.


This section is empty.


This section is empty.


type Dataset

type Dataset struct {
	// contains filtered or unexported fields

func New

func New() (*Dataset, error)

func (*Dataset) Close

func (ds *Dataset) Close() error

func (*Dataset) CombineGenes

func (ds *Dataset) CombineGenes(genes []dbs.Gene) ([]dbs.Dimension, error)

func (*Dataset) DimMax

func (ds *Dataset) DimMax() float64

func (*Dataset) Dimensions

func (ds *Dataset) Dimensions() int

func (*Dataset) GeneSigs

func (ds *Dataset) GeneSigs() int

func (*Dataset) Genesets

func (ds *Dataset) Genesets() int

func (*Dataset) GetGeneSig

func (ds *Dataset) GetGeneSig(geneSigId string) (dbs.GeneSig, error)

func (*Dataset) GetGeneset

func (ds *Dataset) GetGeneset(genesetId string) (dbs.Geneset, error)

func (*Dataset) GetSample

func (ds *Dataset) GetSample(sampleId string) (dbs.Sample, error)

func (*Dataset) ListGeneSigs

func (ds *Dataset) ListGeneSigs(offset, limit int) ([]dbs.GeneSig, error)

func (*Dataset) ListGenesets

func (ds *Dataset) ListGenesets(offset, limit int) (rv []dbs.Geneset,
	err error)

func (*Dataset) ListSamples

func (ds *Dataset) ListSamples(offset, limit int) (samples []dbs.Sample,
	err error)

func (*Dataset) Name

func (ds *Dataset) Name() string

func (*Dataset) NearestGeneSigs

func (ds *Dataset) NearestGeneSigs(dims []dbs.Dimension,
	score_filter dbs.ScoreFilter, offset, limit int) (
	[]dbs.ScoredGeneSig, error)

func (*Dataset) NearestGenesets

func (ds *Dataset) NearestGenesets(dims []dbs.Dimension, f dbs.ScoreFilter,
	offset, limit int) ([]dbs.ScoredGeneset, error)

func (*Dataset) NearestSamples

func (ds *Dataset) NearestSamples(dims []dbs.Dimension,
	filter dbs.SampleFilter, score_filter dbs.ScoreFilter, offset, limit int) (
	[]dbs.ScoredSample, error)

func (*Dataset) SampleTagNames

func (ds *Dataset) SampleTagNames() []string

func (*Dataset) Samples

func (ds *Dataset) Samples() int

func (*Dataset) SearchGeneSigs

func (ds *Dataset) SearchGeneSigs(keyword string, offset, limit int) (
	[]dbs.ScoredGeneSig, error)

func (*Dataset) SearchGenesets

func (ds *Dataset) SearchGenesets(keyword string, offset, limit int) (
	rv []dbs.ScoredGeneset, err error)

func (*Dataset) SearchSamples

func (ds *Dataset) SearchSamples(keyword string, filter dbs.SampleFilter,
	offset, limit int) ([]dbs.ScoredSample, error)

Jump to

Keyboard shortcuts

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