Bio::EnsEMBL::Variation
Sample
Toolbar
Summary
Bio::EnsEMBL::Variation::Sample - An abstract base class to represent
Population, Individual or Strain
Package variables
No package variables defined.
Included modules
Inherit
Synopsis
Abstract class - should not be instantiated. Implementation of
abstract methods must be performed by subclasses.
Description
This is a base class representing population, individual and strain. This base
class is simply a way of merging similar concepts that should have the same ID
Methods
Methods description
Arg [1] : string $newval (optional) The new value to set the description attribute to Example : $description = $obj->description() Description: Getter/Setter for the description attribute Returntype : string Exceptions : none Caller : general Status : At Risk |
Arg [1] : string $newval (optional) The new value to set the name attribute to Example : $name = $obj->name() Description: Getter/Setter for the name attribute Returntype : string Exceptions : none Caller : general Status : At Risk |
Arg [1] : int $newval (optional) The new value to set the size attribute to Example : $size = $obj->size() Description: Getter/Setter for the size attribute Returntype : int Exceptions : none Caller : general Status : At Risk |
Methods code
sub description
{ my $self = shift;
return $self->{'description'} = shift if(@_);
return $self->{'description'}; } |
sub name
{ my $self = shift;
return $self->{'name'} = shift if(@_);
return $self->{'name'}; } |
sub size
{ my $self = shift;
return $self->{'size'} = shift if(@_);
return $self->{'size'};
}
1; } |
General documentation