Summary | Included libraries | Package variables | Synopsis | Description | General documentation | Methods |
WebCvs | Raw content |
my $aaa = $db->get_AffyArrayAdaptor();
my $array = $aaa->fetch_by_name('Affy-1'); my @arrays = @{ $aaa->fetch_all() };
_default_where_clause | Description | Code |
_objs_from_sth | Description | Code |
list_dbIDs | Description | Code |
_default_where_clause | code | next | Top |
Args : None |
_objs_from_sth | code | prev | next | Top |
Arg [1] : DBI statement handle object |
list_dbIDs | code | prev | next | Top |
Args : None |
_default_where_clause | description | prev | next | Top |
my $self = shift; return "oa.type='AFFY'";}
_objs_from_sth | description | prev | next | Top |
my ($self, $sth) = @_; my (@result, $array_id, $parent_id, $setsize, $name, $type); $sth->bind_columns(\$ array_id,\$ parent_id,\$ setsize,\$ name,\$ type ); while ( $sth->fetch() ) { my $array = Bio::EnsEMBL::AffyArray->new( -dbID => $array_id, -adaptor => $self, -name => $name, -setsize => $setsize, ); push @result, $array; if ($parent_id) { my $parent_array = Bio::EnsEMBL::AffyArray->new( -dbID => $parent_id, -adaptor => $self, ); $array->superset($parent_array); } } return\@ result;}
list_dbIDs | description | prev | next | Top |
my ($self) = @_; #return $self->_list_dbIDs('oligo_array');}
# Can't use _list_dbIDs because only want OligoArray objects of type AFFY
my @out; # FIXME: This SQL will not work as expected on multi-species
# databases. It needs to be anchored in a coord_system entry
# coord_system.species_id = $self->species_id(). /ak4@2008-07-15
my $sql = "SELECT oligo_array_id FROM oligo_array WHERE type='AFFY'"; my $sth = $self->prepare($sql); $sth->execute; while (my ($id) = $sth->fetchrow() ) { push @out, $id; } $sth->finish; return\@ out; } 1;
LICENSE | Top |
Copyright (c) 1999-2009 The European Bioinformatics Institute and
Genome Research Limited. All rights reserved.
This software is distributed under a modified Apache license. For license details, please see /info/about/code_licence.html
CONTACT | Top |
Please email comments or questions to the public Ensembl
developers list at <ensembl-dev@ebi.ac.uk>.
Questions may also be sent to the Ensembl help desk at <helpdesk@ensembl.org>.