importFeatureSets: Upload FeatureSet(s) from a file

importFeatureSetsR Documentation

Upload FeatureSet(s) from a file

Description

This function attempts to upload one or more hiveFeatureSetEntity records from a file to a GeneHive.

Usage

importFeatureSets(
  filename,
  featureSpace,
  ...,
  na.rm = TRUE,
  .permissions = getOption("GeneHive.permissions"),
  con = hiveConnection(),
  verbose = getOption("GeneHive.verbose")
)

Arguments

filename

A character string specifying the full path to a file containing one or more FeatureSets

featureSpace

An optional character string or UUID specifying the hiveFeatureSpaceEntity associated with the FeatureSet. If present, the FeatureSet will be checked against it for validity; if missing, an attempt is made to impute the FeatureSpace automatically.

...

Optional arguments to addEntity, e.g., description or species

na.rm

A logical value specifying how to deal with features with NA values: if TRUE, such features are removed from input; if FALSE, the function terminates with an error message

.permissions

A hivePermissions object specifying the permissions to be used when creating the record

con

A hiveConnection object; if not provided, a new connection will be established

verbose

A logical value specifying whether messages should be printed

Value

If the operation is successful, the function invisibly returns a hiveEntityList object containing one or more FeatureSet objects; otherwise, the function terminates with an error message.

Author(s)

Adam C. Gower agower@bu.edu

See Also

This function is a wrapper for the qread function. Its converse is exportFeatureSets.


agower/GeneHive documentation built on April 14, 2022, 5:08 a.m.