deepblue_collection_experiments_count {DeepBlueR} | R Documentation

## collection_experiments_count

### Description

Count the number of experiments that match the selection criteria in each term of the selected controlled_vocabulary. The selection can be achieved through specifying a list of BioSources, experimental Techniques, Epigenetic Marks, Samples or Projects.

### Usage

    deepblue_collection_experiments_count(controlled_vocabulary = NULL,
      genome = NULL, type = NULL, epigenetic_mark = NULL, biosource = NULL,
      sample = NULL, technique = NULL, project = NULL,
      user_key = deepblue_options("user_key"))

### Arguments

`controlled_vocabulary` | - A string (controlled vocabulary name)
`genome` | - A string or a vector of string (the target genome)
`type` | - A string or a vector of string (type of the experiment: peaks or signal)
`epigenetic_mark` | - A string or a vector of string (name(s) of selected epigenetic mark(s))
`biosource` | - A string or a vector of string (name(s) of selected biosource(s))
`sample` | - A string or a vector of string (id(s) of selected sample(s))
`technique` | - A string or a vector of string (name(s) of selected technique(s))
`project` | - A string or a vector of string (name(s) of selected projects)
`user_key` | - A string (users token key)

### Value

terms - A array (controlled_vocabulary terms with count)

### See Also

Other Inserting and listing experiments: `deepblue_faceting_experiments`, `deepblue_list_experiments`, `deepblue_list_recent_experiments`, `deepblue_list_similar_experiments`, `deepblue_preview_experiment`

### Examples

    deepblue_collection_experiments_count(
    	controlled_vocabulary="epigenetic_marks",
        genome = "hg19", type = "peaks",
        biosource = "blood")

[Package DeepBlueR version 1.12.0 Index]