removeIncompleteRecords: Drop Records with incomplete SampleMetadata

removeIncompleteRecordsR Documentation

Drop Records with incomplete SampleMetadata

Description

Modifies the data and sampleMetadata slots of an CollectionWithMetadata object, to exclude records with missing SampleMetadata for a specified column.

Usage

removeIncompleteRecords(
  object,
  colName = character(),
  verbose = c(TRUE, FALSE)
)

## S4 method for signature 'CollectionWithMetadata'
removeIncompleteRecords(
  object,
  colName = character(),
  verbose = c(TRUE, FALSE)
)

Arguments

object

CollectionWithMetadata

colName

String providing the column name in SampleMetadata to check for completeness

verbose

boolean indicating if timed logging is desired

Value

CollectionWithMetadata with modified data and sampleMetadata slots


VEuPathDB/veupathUtils documentation built on Feb. 8, 2025, 12:29 p.m.