exportWeightedFeatureSet: Write WeightedFeatureSet to a file

exportWeightedFeatureSetR Documentation

Write WeightedFeatureSet to a file

Description

This function attempts to write a hiveWeightedFeatureSetEntity object to a file.

Usage

exportWeightedFeatureSet(
  object,
  filename,
  split = TRUE,
  suffixes = c(positive = "_positive", negative = "_negative"),
  verbose = getOption("GeneHive.verbose")
)

Arguments

object

A hiveWeightedFeatureSetEntity object

filename

Character string specifying the full path to an output file

split

Logical value specifying whether a WeightedFeatureSet with weights of only +1 and -1 should be split into two separate hiveFeatureSetEntity records when exporting to the file

suffixes

Character vector of length 2, with names "positive" and "negative", indicating the suffixes to be added to the labels of each FeatureSet if split=TRUE

verbose

Logical value specifying whether messages should be printed

Value

If the operation is successful, the function writes the WeightedFeatureSet to the file specified by filename; 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 qwrite function. Its converse is importWeightedFeatureSet.


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