imputeFeatureSpace: Impute the FeatureSpace associated with an object

imputeFeatureSpaceR Documentation

Impute the FeatureSpace associated with an object

Description

This is a generic function for imputing the FeatureSpace associated with one or more sets of features.

Usage

imputeFeatureSpace(object, con = hiveConnection())

## S4 method for signature 'hiveEntityList'
imputeFeatureSpace(object, con = hiveConnection())

## S4 method for signature 'hiveFeatureSetEntity'
imputeFeatureSpace(object, con = hiveConnection())

## S4 method for signature 'hiveWeightedFeatureSetEntity'
imputeFeatureSpace(object, con = hiveConnection())

## S4 method for signature 'character'
imputeFeatureSpace(object, con = hiveConnection())

Arguments

object

Either a hiveFeatureSetEntity or hiveWeightedFeatureSetEntity object, a hiveEntityList containing one or more of these objects, or a character vector

con

A hiveConnection object

Details

If a given set of features matches one or more FeatureSpaces consisting of a set of features, as well as one or more FeatureSpaces consisting of regular expressions, precedence is given to the FeatureSpace(s) that consist of a set of features.

Value

If successful, each class-specific method returns a UUIDList containing the following output for each object in the hiveEntityList:

  • If the features in a given record do not match any FeatureSpaces, a nil UUID, with a warning.

  • If the features match exactly one FeatureSpace, the UUID of that FeatureSpace.

  • If the features match more than one FeatureSpace, the UUID of the smallest FeatureSpace.

Otherwise, the function terminates with an error message.

Methods

Class-specific methods exist for:

  • hiveFeatureSetEntity

  • hiveWeightedFeatureSetEntity

  • hiveEntityList

  • character

Author(s)

Adam C. Gower agower@bu.edu


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