Class: Google::Apis::GenomicsV1beta2::AnnotationSet
- Inherits:
-
Object
- Object
- Google::Apis::GenomicsV1beta2::AnnotationSet
- Includes:
- Core::Hashable
- Defined in:
- generated/google/apis/genomics_v1beta2/classes.rb,
generated/google/apis/genomics_v1beta2/representations.rb,
generated/google/apis/genomics_v1beta2/representations.rb
Overview
An annotation set is a logical grouping of annotations that share consistent type information and provenance. Examples of annotation sets include 'all genes from refseq', and 'all variant annotations from ClinVar'.
Instance Attribute Summary collapse
-
#dataset_id ⇒ String
The ID of the containing dataset.
-
#id ⇒ String
The generated unique ID for this annotation set.
-
#info ⇒ Hash<String,Array<String>>
A string which maps to an array of values.
-
#name ⇒ String
The display name for this annotation set.
-
#reference_set_id ⇒ String
The ID of the reference set that defines the coordinate space for this set's annotations.
-
#source_uri ⇒ String
The source URI describing the file from which this annotation set was generated, if any.
-
#type ⇒ String
The type of annotations contained within this set.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AnnotationSet
constructor
A new instance of AnnotationSet.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ AnnotationSet
Returns a new instance of AnnotationSet.
206 207 208 |
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 206 def initialize(**args) update!(**args) end |
Instance Attribute Details
#dataset_id ⇒ String
The ID of the containing dataset.
Corresponds to the JSON property datasetId
172 173 174 |
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 172 def dataset_id @dataset_id end |
#id ⇒ String
The generated unique ID for this annotation set.
Corresponds to the JSON property id
177 178 179 |
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 177 def id @id end |
#info ⇒ Hash<String,Array<String>>
A string which maps to an array of values.
Corresponds to the JSON property info
182 183 184 |
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 182 def info @info end |
#name ⇒ String
The display name for this annotation set.
Corresponds to the JSON property name
187 188 189 |
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 187 def name @name end |
#reference_set_id ⇒ String
The ID of the reference set that defines the coordinate space for this set's
annotations.
Corresponds to the JSON property referenceSetId
193 194 195 |
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 193 def reference_set_id @reference_set_id end |
#source_uri ⇒ String
The source URI describing the file from which this annotation set was
generated, if any.
Corresponds to the JSON property sourceUri
199 200 201 |
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 199 def source_uri @source_uri end |
#type ⇒ String
The type of annotations contained within this set.
Corresponds to the JSON property type
204 205 206 |
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 204 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
211 212 213 214 215 216 217 218 219 |
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 211 def update!(**args) @dataset_id = args[:dataset_id] unless args[:dataset_id].nil? @id = args[:id] unless args[:id].nil? @info = args[:info] unless args[:info].nil? @name = args[:name] unless args[:name].nil? @reference_set_id = args[:reference_set_id] unless args[:reference_set_id].nil? @source_uri = args[:source_uri] unless args[:source_uri].nil? @type = args[:type] unless args[:type].nil? end |