chromLoc-class {annotate}R Documentation

Class chromLoc, a class for describing the location of a gene on a chromosome.

Description

This class will be able to provide location information for a gene. Attributes include the chromosome number, the starting position and the chromosome strand (+/-).

Creating Objects

new('chromLoc',
chrom = ...., # Object of class character
position = ...., # Object of class numeric
strand = ...., # Object of class character
)

Slots

chrom:
Object of class "character". The chromosome that the gene is located on.
position:
Object of class "numeric". The starting position of the gene on the chromosme.
strand:
Object of class "character". The chromosome strand that the gene is on.

Methods

chrom
(chromLoc): Retrieves the value of 'chrom'.
position
(chromLoc): Retrieves the value of 'position'.
strand
(chromLoc): Retrieves the value of 'strand'.

[Package Contents]