Class: Cohort

A named subset of a dataset’s subjects: the unit a group-level quantity is defined over, such as a mean connectome, a per-edge presence count or a normalisation constant. A dataset may hold several, and they may overlap: the sites of a multi-centre study, a patient and a control group, the subjects a processing pipeline has finished so far. Naming the subset is what pins an aggregate. A quantity computed over hcpy93 states which subjects went into it, and moving to a larger cohort is a change to one identifier rather than to every consumer.

URI: tvbo_study:class/Cohort

 classDiagram
    class Cohort
    click Cohort href "./Cohort.html"
      Cohort : cohort_id
        
          
    
        
        
        Cohort --> "1" String : cohort_id
        click String href "../http://www.w3.org/2001/XMLSchema#string.html"
    

        
      Cohort : description
        
          
    
        
        
        Cohort --> "0..1" String : description
        click String href "../http://www.w3.org/2001/XMLSchema#string.html"
    

        
      Cohort : label
        
          
    
        
        
        Cohort --> "0..1" String : label
        click String href "../http://www.w3.org/2001/XMLSchema#string.html"
    

        
      Cohort : members
        
          
    
        
        
        Cohort --> "*" String : members
        click String href "../http://www.w3.org/2001/XMLSchema#string.html"
    

        
      Cohort : members_file
        
          
    
        
        
        Cohort --> "0..1" String : members_file
        click String href "../http://www.w3.org/2001/XMLSchema#string.html"
    

        
      Cohort : rule
        
          
    
        
        
        Cohort --> "0..1" CohortRule : rule
        click CohortRule href "./CohortRule.html"
    

        
      

Slots

Name Cardinality and Range Description Inheritance
cohort_id 1
xsd:string
Identifier of a cohort, unique within the study: the name a reference address… direct
members *
xsd:string
The subject identifiers this cohort holds, without the sub- prefix, in th… direct
members_file 0..1
xsd:string
Path of a file that lists the members, read each time the cohort is used, so … direct
rule 0..1
CohortRule
A rule on a phenotype measure that admits the members (CohortRule): one g… direct
label 0..1
xsd:string
Human-readable cohort name direct
description 0..1
xsd:string
What admits a subject to this cohort, in words: the selection rule, the site,… direct

Usages

used by used in type used
Dataset cohorts range Cohort
DBSDataset cohorts range Cohort

Identifier and Mapping Information

Schema Source

  • from schema: https://w3id.org/tvbo/study

Mappings

Mapping Type Mapped Value
self tvbo_study:Cohort
native tvbo_study:Cohort

LinkML Source

Direct

name: Cohort
description: 'A named subset of a dataset''s subjects: the unit a group-level quantity
  is defined over, such as a mean connectome, a per-edge presence count or a normalisation
  constant. A dataset may hold several, and they may overlap: the sites of a multi-centre
  study, a patient and a control group, the subjects a processing pipeline has finished
  so far. Naming the subset is what pins an aggregate. A quantity computed over ``hcpy93``
  states which subjects went into it, and moving to a larger cohort is a change to
  one identifier rather than to every consumer.'
from_schema: https://w3id.org/tvbo/study
slots:
- cohort_id
attributes:
  members:
    name: members
    description: 'The subject identifiers this cohort holds, without the ``sub-``
      prefix, in the order a stacked read returns them. When the enclosing dataset
      lists its ``subjects``, every member must be one of them. A cohort states its
      members in exactly one way: typed here, read from ``members_file``, or admitted
      by ``rule``.'
    from_schema: https://w3id.org/tvbo/study
    rank: 1000
    domain_of:
    - Cohort
    range: string
    multivalued: true
  members_file:
    name: members_file
    description: Path of a file that lists the members, read each time the cohort
      is used, so a list its producer keeps (the subjects a pipeline has finished)
      is never copied into the recipe. A ``.yaml`` or ``.json`` file holds what ``members``
      would hold; a ``.tsv`` or ``.csv`` file is a participants table (the BIDS ``participants.tsv``
      layout, tab- or comma-separated), read by its ``participant_id`` column, and
      a row with a value but no participant is an error; any other file holds one
      identifier per line, blank lines and lines starting with ``#`` skipped. Members
      come in the file's order and a ``sub-`` prefix is dropped. A relative path is
      read from the directory of the experiment or network file the dataset is part
      of, also when the dataset comes into that file by ``!include`` from another
      directory, and, when the file is not there, from the root of the study that
      file belongs to; a missing file is an error naming the places tried. Messages
      about a list read from a file give counts and positions, never an identifier.
    from_schema: https://w3id.org/tvbo/study
    rank: 1000
    domain_of:
    - Cohort
    range: string
  rule:
    name: rule
    description: 'A rule on a phenotype measure that admits the members (``CohortRule``):
      one group of a split of the subjects by a score. The members are computed from
      the phenotype table each time the cohort is used, so no list is typed or stored.'
    from_schema: https://w3id.org/tvbo/study
    rank: 1000
    domain_of:
    - Cohort
    range: CohortRule
    inlined: true
  label:
    name: label
    description: Human-readable cohort name.
    from_schema: https://w3id.org/tvbo/study
    slot_uri: rdfs:label
    domain_of:
    - ParcellationTerminology
    - Subject
    - Session
    - Cohort
    - Dataset
    - Contact
    - SoftwareEnvironment
    - Figure
    - Panel
    - Inset
    - Layer
    - Colorbar
    - Rule
    - Equation
    - Stimulus
    - Event
    - Parcellation
    - Tractogram
    - Matrix
    - Phenotype
    - Network
    - Node
    - Edge
    - Observation
    - Dynamics
    - StateVariable
    - Parameter
    - Function
    - FunctionCall
    - DerivedVariable
    - RandomStream
    - DataSource
    - OptimizationStage
    - Exploration
    - ExplorationAxis
    - FreeParameter
    - Inference
    - AlgorithmStage
    - TuningObjective
    - Continuation
    - Coupling
    - SimulationExperiment
    - SimulationStudy
    - TimeSeries
    - NDArray
    - SpatialDomain
    - Mesh
    - SpatialField
    - FieldStateVariable
    - DifferentialOperator
    - BoundaryCondition
    - PDESolver
    - PDE
    range: string
  description:
    name: description
    description: 'What admits a subject to this cohort, in words: the selection rule,
      the site, the diagnostic group.'
    from_schema: https://w3id.org/tvbo/study
    slot_uri: dcterms:description
    domain_of:
    - BrainAtlas
    - CommonCoordinateSpace
    - Cohort
    - Dataset
    - StudyLayout
    - StudyTemplate
    - StudyDirectory
    - StudyFile
    - ClinicalScore
    - SoftwarePackage
    - SoftwareRequirement
    - SoftwareEnvironment
    - Figure
    - Panel
    - Equation
    - Stimulus
    - Event
    - Tractogram
    - Matrix
    - ResultEntity
    - Activity
    - Phenotype
    - MeasureSpec
    - NamedArray
    - Network
    - GraphGenerator
    - ProcedureStep
    - File
    - NodeTemplate
    - Node
    - Edge
    - Observation
    - Dynamics
    - StateVariable
    - Parameter
    - CouplingInput
    - Argument
    - Function
    - FunctionCall
    - Callable
    - DerivedParameter
    - DerivedVariable
    - RandomStream
    - DataSource
    - OptimizationStage
    - Exploration
    - ExplorationAxis
    - FreeParameter
    - Inference
    - Prior
    - Likelihood
    - UpdateRule
    - AlgorithmStage
    - TuningObjective
    - Algorithm
    - BranchSwitch
    - Continuation
    - Integrator
    - Coupling
    - SimulationExperiment
    - Study
    - ResultBinding
    - TimeSeries
    - NDArray
    - SpatialDomain
    - Mesh
    - SpatialField
    - FieldStateVariable
    - BoundaryCondition
    - PDESolver
    - PDE
    - Reducer
    range: string

Induced

name: Cohort
description: 'A named subset of a dataset''s subjects: the unit a group-level quantity
  is defined over, such as a mean connectome, a per-edge presence count or a normalisation
  constant. A dataset may hold several, and they may overlap: the sites of a multi-centre
  study, a patient and a control group, the subjects a processing pipeline has finished
  so far. Naming the subset is what pins an aggregate. A quantity computed over ``hcpy93``
  states which subjects went into it, and moving to a larger cohort is a change to
  one identifier rather than to every consumer.'
from_schema: https://w3id.org/tvbo/study
attributes:
  members:
    name: members
    description: 'The subject identifiers this cohort holds, without the ``sub-``
      prefix, in the order a stacked read returns them. When the enclosing dataset
      lists its ``subjects``, every member must be one of them. A cohort states its
      members in exactly one way: typed here, read from ``members_file``, or admitted
      by ``rule``.'
    from_schema: https://w3id.org/tvbo/study
    rank: 1000
    owner: Cohort
    domain_of:
    - Cohort
    range: string
    multivalued: true
  members_file:
    name: members_file
    description: Path of a file that lists the members, read each time the cohort
      is used, so a list its producer keeps (the subjects a pipeline has finished)
      is never copied into the recipe. A ``.yaml`` or ``.json`` file holds what ``members``
      would hold; a ``.tsv`` or ``.csv`` file is a participants table (the BIDS ``participants.tsv``
      layout, tab- or comma-separated), read by its ``participant_id`` column, and
      a row with a value but no participant is an error; any other file holds one
      identifier per line, blank lines and lines starting with ``#`` skipped. Members
      come in the file's order and a ``sub-`` prefix is dropped. A relative path is
      read from the directory of the experiment or network file the dataset is part
      of, also when the dataset comes into that file by ``!include`` from another
      directory, and, when the file is not there, from the root of the study that
      file belongs to; a missing file is an error naming the places tried. Messages
      about a list read from a file give counts and positions, never an identifier.
    from_schema: https://w3id.org/tvbo/study
    rank: 1000
    owner: Cohort
    domain_of:
    - Cohort
    range: string
  rule:
    name: rule
    description: 'A rule on a phenotype measure that admits the members (``CohortRule``):
      one group of a split of the subjects by a score. The members are computed from
      the phenotype table each time the cohort is used, so no list is typed or stored.'
    from_schema: https://w3id.org/tvbo/study
    rank: 1000
    owner: Cohort
    domain_of:
    - Cohort
    range: CohortRule
    inlined: true
  label:
    name: label
    description: Human-readable cohort name.
    from_schema: https://w3id.org/tvbo/study
    slot_uri: rdfs:label
    owner: Cohort
    domain_of:
    - ParcellationTerminology
    - Subject
    - Session
    - Cohort
    - Dataset
    - Contact
    - SoftwareEnvironment
    - Figure
    - Panel
    - Inset
    - Layer
    - Colorbar
    - Rule
    - Equation
    - Stimulus
    - Event
    - Parcellation
    - Tractogram
    - Matrix
    - Phenotype
    - Network
    - Node
    - Edge
    - Observation
    - Dynamics
    - StateVariable
    - Parameter
    - Function
    - FunctionCall
    - DerivedVariable
    - RandomStream
    - DataSource
    - OptimizationStage
    - Exploration
    - ExplorationAxis
    - FreeParameter
    - Inference
    - AlgorithmStage
    - TuningObjective
    - Continuation
    - Coupling
    - SimulationExperiment
    - SimulationStudy
    - TimeSeries
    - NDArray
    - SpatialDomain
    - Mesh
    - SpatialField
    - FieldStateVariable
    - DifferentialOperator
    - BoundaryCondition
    - PDESolver
    - PDE
    range: string
  description:
    name: description
    description: 'What admits a subject to this cohort, in words: the selection rule,
      the site, the diagnostic group.'
    from_schema: https://w3id.org/tvbo/study
    slot_uri: dcterms:description
    owner: Cohort
    domain_of:
    - BrainAtlas
    - CommonCoordinateSpace
    - Cohort
    - Dataset
    - StudyLayout
    - StudyTemplate
    - StudyDirectory
    - StudyFile
    - ClinicalScore
    - SoftwarePackage
    - SoftwareRequirement
    - SoftwareEnvironment
    - Figure
    - Panel
    - Equation
    - Stimulus
    - Event
    - Tractogram
    - Matrix
    - ResultEntity
    - Activity
    - Phenotype
    - MeasureSpec
    - NamedArray
    - Network
    - GraphGenerator
    - ProcedureStep
    - File
    - NodeTemplate
    - Node
    - Edge
    - Observation
    - Dynamics
    - StateVariable
    - Parameter
    - CouplingInput
    - Argument
    - Function
    - FunctionCall
    - Callable
    - DerivedParameter
    - DerivedVariable
    - RandomStream
    - DataSource
    - OptimizationStage
    - Exploration
    - ExplorationAxis
    - FreeParameter
    - Inference
    - Prior
    - Likelihood
    - UpdateRule
    - AlgorithmStage
    - TuningObjective
    - Algorithm
    - BranchSwitch
    - Continuation
    - Integrator
    - Coupling
    - SimulationExperiment
    - Study
    - ResultBinding
    - TimeSeries
    - NDArray
    - SpatialDomain
    - Mesh
    - SpatialField
    - FieldStateVariable
    - BoundaryCondition
    - PDESolver
    - PDE
    - Reducer
    range: string
  cohort_id:
    name: cohort_id
    description: 'Identifier of a cohort, unique within the study: the name a reference
      addresses it by (``used: {cohort: <id>}``). Corresponds to the BIDS ``cohort-``
      entity.'
    from_schema: https://w3id.org/tvbo/study
    slot_uri: dcterms:identifier
    identifier: true
    owner: Cohort
    domain_of:
    - Cohort
    range: string
    required: true