Summary | Included libraries | Package variables | Synopsis | Description | General documentation | Methods |
WebCvs | Raw content |
use Bio::EnsEMBL::SimpleFeature;
$feature = Bio::EnsEMBL::SimpleFeature->new( -start => 100, -end => 220, -strand => -1, -slice => $slice, -analysis => $analysis, -score => 58, -display_label => 'EponineTSS', -dbID => 1230, -adaptor => $adaptor );
display_id | Description | Code |
display_label | Description | Code |
new | Description | Code |
new_fast | Description | Code |
score | Description | Code |
display_id | code | next | Top |
Arg [1] : none |
display_label | code | prev | next | Top |
Arg [1] : (optional) string $value |
new | code | prev | next | Top |
Arg [DISPLAY_LABEL]: The label assigned to this simple feature |
new_fast | code | prev | next | Top |
Arg [1] : hashref to be blessed |
score | code | prev | next | Top |
Arg [1] : (optional) string $value |
display_id | description | prev | next | Top |
my $self = shift; return $self->{'display_label'} || '';}
display_label | description | prev | next | Top |
my $self = shift; $self->{'display_label'} = shift if(@_); return $self->{'display_label'};}
new | description | prev | next | Top |
my $caller = shift; #allow this to be called as class or object method}
my $class = ref($caller) || $caller; my $self = $class->SUPER::new(@_); my ($display_label, $score) = rearrange(['DISPLAY_LABEL','SCORE'],@_); $self->{'display_label'} = $display_label; $self->{'score'} = $score; return $self;
new_fast | description | prev | next | Top |
my $class = shift; my $hashref = shift; return bless $hashref, $class;}
score | description | prev | next | Top |
my $self = shift; $self->{'score'} = shift if(@_); return $self->{'score'}; } 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>.