Skip to contents

File-selection presets provide common file-format and output-type preferences for encode_select_files().

Usage

encode_file_presets(preset = NULL)

Arguments

preset

Preset name, or NULL to list all preset names.

Value

A character vector of preset names when preset = NULL. For one preset, returns a list with file_format and output_type_priority, which are passed to encode_select_files() when the corresponding explicit arguments are not supplied.

Examples

# List all available presets.
encode_file_presets()
#> [1] "raw_reads"               "alignments"             
#> [3] "chipseq_peaks"           "chipseq_signal"         
#> [5] "atacseq_peaks"           "rnaseq_gene_quant"      
#> [7] "rnaseq_transcript_quant" "metadata"               

# Inspect the exact preferences in one preset.
encode_file_presets("rnaseq_gene_quant")
#> $file_format
#> [1] "tsv" "txt" "csv"
#> 
#> $output_type_priority
#> [1] "gene quantifications"            "gene expression quantifications"
#> [3] "gene TPMs"                       "gene counts"                    
#> [5] "quantifications"                
#> 
#> $preset
#> [1] "rnaseq_gene_quant"
#>