LICENSE

Copyright [1999-2015] Wellcome Trust Sanger Institute and the EMBL-European Bioinformatics Institute Copyright [2016-2024] EMBL-European Bioinformatics Institute

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

CONTACT

Please email comments or questions to the public Ensembl
developers list at <http://lists.ensembl.org/mailman/listinfo/dev>.

Questions may also be sent to the Ensembl help desk at
<http://www.ensembl.org/Help/Contact>.

NAME

Bio::EnsEMBL::DensityType - A type representing a density, or percentage coverage etc. in a given region.

SYNOPSIS

use Bio::EnsEMBL::DensityType;

$type = Bio::EnsEMBL::DensityType->new(
  -analysis   => $analysis,
  -blocksize  => 1000000,
  -value_type => $type
);

DESCRIPTION

A density type represents a density, or percentage coverage etc. in a given region.

METHODS

new

  Arg [..]   :  Takes a set of named arguments
  Example    : $dt = new Bio::EnsEMBL::DensityType::DensityType(
				-analysis  =>  $analysis,
				-blocksize =>  1e6,
				-value_type => 'sum')

  Description: Creates a new Density Type object
  Returntype : Bio::EnsEMBL::DensityType
  Exceptions : blocksize > 0, 
               valuetype must be 'sum' or 'ratio',
               valid analysis object must be passed
  Caller     : general
  Status     : Stable

analysis

Arg [1]    : Bio::EnsEMBL::Analysis
Description: get/set for attribute analysis
Returntype : Bio::EnsEMBL::Analysis
Exceptions : none
Caller     : general
Status     : Stable

value_type

Arg [1]    : string $value_type
Description: gettter/setter for the type 
Returntype : float
Exceptions : none
Caller     : general
Status     : Stable

block_size

Arg [1]    : int
Description: getter/setter for attribute block_size
Returntype : int
Exceptions : none
Caller     : general
Status     : Stable

region_features

Arg [1]    : int $region_features
Example    : The number of features per seq_region inside this density_type..
Description: get/set for attribute region_features
Returntype : string
Exceptions : none
Caller     : general