Bio::EnsEMBL::ExternalData Frequency
SummaryPackage variablesSynopsisDescriptionGeneral documentationMethods
Toolbar
WebCvsRaw content
Summary
Bio::EnsEMBL::ExternalData::Frequency- create Frequency object for subSNP population
Package variables
No package variables defined.
Synopsis
    my $snp_renderer = $snp_data->renderer;
$snp_renderer->outputFrequencyTable;
Description
 Container object attached to SNPs population objects which holds allele frequencies for a subSNP.
Methods
alleleDescriptionCode
batch_idDescriptionCode
countDescriptionCode
frequencyDescriptionCode
new
No description
Code
ssidDescriptionCode
Methods description
allelecode    nextTop
  Arg [1]    : string allele or 'otherallele' e.g. indel
Example : none
Description: get/set for allele
Returntype : string
Exceptions : none
Caller : general
batch_idcodeprevnextTop
  Arg [1]    : integer batch ID
Example : none
Description: get/set the batch id
Returntype : integer
Exceptions : none
Caller : general
countcodeprevnextTop
  Arg [1]    : integer count
Example : none
Description: get/set for number of people sampled
Returntype : integer
Exceptions : none
Caller : general
frequencycodeprevnextTop
  Arg [1]    : integer frequency
Example : none
Description: get/set for the allele frequency
Returntype : integer
Exceptions : none
Caller : general
ssidcodeprevnextTop
  Arg [1]    : integer ssid
Example : none
Description: get/set the ssid
Returntype : integer
Exceptions : none
Caller : general
Methods code
alleledescriptionprevnextTop
sub allele {
  my ($self, $value) =@_;
  if ( defined $value){
    $self->{'allele'} = $value;
  }
  return $self->{'allele'};
}
batch_iddescriptionprevnextTop
sub batch_id {
  my ($self, $value) =@_;
  if ( defined $value){
    $self->{'batch_id'} = $value;
  }
  return $self->{'batch_id'};
}

1;
}
countdescriptionprevnextTop
sub count {
  my ($self, $value) =@_;
  if ( defined $value){
    $self->{'count'} = $value;
  }
  return $self->{'count'};
}
frequencydescriptionprevnextTop
sub frequency {
  my ($self, $value) =@_;
  if ( defined $value){
    $self->{'frequency'} = $value;
  }
  return $self->{'frequency'};
}
newdescriptionprevnextTop
sub new {
    my $class = shift;
    my $self = {};

    # rebless into own class
bless $self, $class; return $self;
}
ssiddescriptionprevnextTop
sub ssid {
  my ($self, $value) =@_;
  if ( defined $value){
    $self->{'ssid'} = $value;
  }
  return $self->{'ssid'};
}
General documentation
LICENCETop
This code is distributed under an Apache style licence:
Please see /code_licence.html for details
CONTACTTop
Fiona Cunningham <fc1@sanger.ac.uk>