studiesToDataframe: Studies from 'getStudies' to data.frame

Description Usage Arguments Details Value See Also

Description

getStudies returns a list of studies and this functions helps to transform this list into a data.frame. Some list elements, such as studies$SubjectGroups often consist of multiple elements. These values are concatenated with a semicolon separator in the data.frame and can easily be parsed again.

Usage

1

Arguments

studies

Studies in a list as output by getStudies

Details

The returned data.frame has the same column names as the field names of the list output by getStudies.

token

Study token used to reference study in other API calls

code

Short code name of study

title

Longer title of study

description

Short description of the study

subjectCount

Number of subjects

species

Species of the subjects

subjectGroups

Subject groups such as treatments and responses

sampleAndTreatmentGroups

Treatment groups

treatmentTypes

Types of treatment

sampleTypes

Type of samples

assays

Available assays for the study

modules

Available assay modules

sampleCount

Number of samples in the assay data

Value

A data.frame with column names equal to the studie field names

See Also

getStudies

Other dbnp data processing: cleanAssays, findCharacters, getAssaySubjectsDataframe, getAssaysDataframe, getAssaysList, getFeaturesDataframe, getStudyToken, getSubjectsDataframe, missingSubjects, nestAssays, relevelTime, summariseAssayValue, summariseAssays


Lodewic/accomodation-recommendation documentation built on Oct. 27, 2018, 12:12 a.m.