GenomicLocation
GenomicLocation.RdInformation on the genomic location of specific sequence.
Auto-generated R6 class from JSON Schema.
Format
An R6::R6Class() generator object.
Constructor
new(...) supports the following arguments.
alt_seq: A possible alternative sequence of this genomic location.chrom: The chromosome name.end: The end of the location, 0-based positioning.genome_id: The index to the genome in the targeted_genomes list that this location refers to.ref_seq: The reference sequence of this genomic location.start: The start of the location, 0-based positioning.strand: Which strand the location is, either + for plus strand or - for negative strand.extras: Additional properties not explicitly defined in the schema.
Methods
See inline method documentation for initialize(), validate(), to_list(), to_json_list(), and to_json().
Public fields
alt_seqA possible alternative sequence of this genomic location.
chromThe chromosome name.
endThe end of the location, 0-based positioning.
genome_idThe index to the genome in the targeted_genomes list that this location refers to.
ref_seqThe reference sequence of this genomic location.
startThe start of the location, 0-based positioning.
strandWhich strand the location is, either + for plus strand or - for negative strand.
extrasAdditional properties not explicitly defined in the schema.
Methods
GenomicLocation$new()
Create a new instance.
Usage
GenomicLocation$new(
alt_seq = NULL,
chrom = NA_character_,
end = NA_real_,
genome_id = NA_real_,
ref_seq = NULL,
start = NA_real_,
strand = NULL,
extras = list()
)Arguments
alt_seqA possible alternative sequence of this genomic location.
chromThe chromosome name.
endThe end of the location, 0-based positioning.
genome_idThe index to the genome in the targeted_genomes list that this location refers to.
ref_seqThe reference sequence of this genomic location.
startThe start of the location, 0-based positioning.
strandWhich strand the location is, either + for plus strand or - for negative strand.
extrasAdditional properties not explicitly defined in the schema.
GenomicLocation$to_json()
Convert the object to a JSON string.
Arguments
prettyLogical; pretty-print the JSON.
auto_unboxLogical; passed to
jsonlite::toJSON()....Additional arguments passed to
jsonlite::toJSON().