EnsEMBL::Web::Component::Location::LD

Location: /modules/EnsEMBL/Web/Component/Location/LD.pm
Source code · Permalink
No superclasses
No subclasses

Overview

Information_panel

Internal_call

Method

Unknown

  • _init
  • content
Documentation coverage: 75 %

Methods

    _pop_url
    Internal_call.
    Arg 1 Proxy object
    Arg 2 Population name (to be displayed)
    Arg 3 dbSNP population ID (variable to be linked to)
    Description makes pop_name into a link Returns HTML string of link to population in dbSNP
    Example _pop_url($pop_name, $pop_dbSNPID);
    Returns HTML string of link to population in dbSNP
    View source

    focus
    Information_panel.
    Description adds pair of values (type of focus e.g gene or snp and the ID) to panel if the paramater "gene" or "snp" is defined
    Purpose outputs focus of page e.g.. gene, SNP (rs5050)or slice

    View source

    population_info
    Information_panel.
    Description Returns information about the population. Calls helper function print_pop_info to get population data (name, size, description, whether the SNP is tagged)
    Purpose outputs name, size, description of population and super/sub population info if exists

    View source

    prediction_method
    Information_panel.
    Description Adds text information about the prediction method
    Purpose standard blurb about calculation of LD

    View source

    print_pop_info
    Internal_call.
    Arg1 population object
    Arg2 label (e.g. "Super-Population" or "Sub-Population")
    Description Returns information about the population: name, size, description and whether it is a tagged SNP Returns HTML string with population data
    Example print_pop_info($super_pop, "Super-Population").
    Returns HTML string with population data
    View source

    tagged_snp
    Arg1 object
    Arg2 population name (string)
    Description Gets the EnsEMBL::Web::Object::SNP object off the proxy object and checks if SNP is tagged in the current population. Returns 0 if no SNP.
    returns no
    View source