Bio::EnsEMBL::ExternalData
Frequency
Toolbar
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
Methods description
Arg [1] : string allele or 'otherallele' e.g. indel Example : none Description: get/set for allele Returntype : string Exceptions : none Caller : general |
Arg [1] : integer batch ID Example : none Description: get/set the batch id Returntype : integer Exceptions : none Caller : general |
Arg [1] : integer count Example : none Description: get/set for number of people sampled Returntype : integer Exceptions : none Caller : general |
Arg [1] : integer frequency Example : none Description: get/set for the allele frequency Returntype : integer Exceptions : none Caller : general |
Arg [1] : integer ssid Example : none Description: get/set the ssid Returntype : integer Exceptions : none Caller : general |
Methods code
sub allele
{ my ($self, $value) =@_;
if ( defined $value){
$self->{'allele'} = $value;
}
return $self->{'allele'}; } |
sub batch_id
{ my ($self, $value) =@_;
if ( defined $value){
$self->{'batch_id'} = $value;
}
return $self->{'batch_id'};
}
1; } |
sub count
{ my ($self, $value) =@_;
if ( defined $value){
$self->{'count'} = $value;
}
return $self->{'count'}; } |
sub frequency
{ my ($self, $value) =@_;
if ( defined $value){
$self->{'frequency'} = $value;
}
return $self->{'frequency'}; } |
sub new
{ my $class = shift;
my $self = {};
bless $self, $class;
return $self; } |
sub ssid
{ my ($self, $value) =@_;
if ( defined $value){
$self->{'ssid'} = $value;
}
return $self->{'ssid'}; } |
General documentation
This code is distributed under an Apache style licence:
Please see
/code_licence.html for details