Collections-methods: Create Collections

CollectionsR Documentation

Create Collections

Description

This is a constructor for the Collections class. It creates a Collections object for use in a Microbiome Dataset. A Collections object is a list of Collection objects.

Usage

Collections(collections, ontology)

## S4 method for signature 'missing,missing'
Collections(collections, ontology)

## S4 method for signature 'list,missing'
Collections(collections, ontology)

## S4 method for signature 'list,data.frame'
Collections(collections, ontology)

## S4 method for signature 'data.frame,missing'
Collections(collections, ontology)

## S4 method for signature 'data.frame,data.frame'
Collections(collections, ontology)

## S4 method for signature 'Collection,missing'
Collections(collections, ontology)

## S4 method for signature 'character,missing'
Collections(collections, ontology)

Arguments

collections

A list of Collection objects, a data.frame containing multiple collections, or a character vector containing a file path to a data.frame

ontology

A data.frame containing the ontology for the dataset

Value

A Collections object


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