Skip to content

Create Annotation Store Version

omics_create_annotation_store_version R Documentation

Creates a new version of an annotation store

Description

Creates a new version of an annotation store.

Usage

omics_create_annotation_store_version(name, versionName, description,
  versionOptions, tags)

Arguments

name

[required] The name of an annotation store version from which versions are being created.

versionName

[required] The name given to an annotation store version to distinguish it from other versions.

description

The description of an annotation store version.

versionOptions

The options for an annotation store version.

tags

Any tags added to annotation store version.

Value

A list with the following syntax:

list(
  id = "string",
  versionName = "string",
  storeId = "string",
  versionOptions = list(
    tsvVersionOptions = list(
      annotationType = "GENERIC"|"CHR_POS"|"CHR_POS_REF_ALT"|"CHR_START_END_ONE_BASE"|"CHR_START_END_REF_ALT_ONE_BASE"|"CHR_START_END_ZERO_BASE"|"CHR_START_END_REF_ALT_ZERO_BASE",
      formatToHeader = list(
        "string"
      ),
      schema = list(
        list(
          "LONG"|"INT"|"STRING"|"FLOAT"|"DOUBLE"|"BOOLEAN"
        )
      )
    )
  ),
  name = "string",
  status = "CREATING"|"UPDATING"|"DELETING"|"ACTIVE"|"FAILED",
  creationTime = as.POSIXct(
    "2015-01-01"
  )
)

Request syntax

svc$create_annotation_store_version(
  name = "string",
  versionName = "string",
  description = "string",
  versionOptions = list(
    tsvVersionOptions = list(
      annotationType = "GENERIC"|"CHR_POS"|"CHR_POS_REF_ALT"|"CHR_START_END_ONE_BASE"|"CHR_START_END_REF_ALT_ONE_BASE"|"CHR_START_END_ZERO_BASE"|"CHR_START_END_REF_ALT_ZERO_BASE",
      formatToHeader = list(
        "string"
      ),
      schema = list(
        list(
          "LONG"|"INT"|"STRING"|"FLOAT"|"DOUBLE"|"BOOLEAN"
        )
      )
    )
  ),
  tags = list(
    "string"
  )
)