Unlimited learning, half price | 50% off

Last chance! 50% off unlimited learning

Sale ends in


GenomicDataCommons (version 1.3.4)

entity_name: Get the entity name from a GDCQuery object

Description

An "entity" is simply one of the four medata endpoints.

  • cases

  • projects

  • files

  • annotations

All GDCQuery objects will have an entity name. This S3 method is simply a utility accessor for those names.

Usage

entity_name(x)

# S3 method for GDCQuery entity_name(x)

# S3 method for GDCResults entity_name(x)

Arguments

x

a GDCQuery object

Value

character(1) name of an associated entity; one of "cases", "files", "projects", "annotations".

Examples

Run this code
# NOT RUN {
qcases = cases()
qprojects = projects()

entity_name(qcases)
entity_name(qprojects)

# }

Run the code above in your browser using DataLab