deepblue_select_column: select column

Description Usage Arguments Value See Also Examples

View source: R/helperFunctions.R

Description

A utility command that creates a list of experiments in which a specific column is selected. Such a list is needed as input for deepblue_score_matrix.

Usage

1
2
deepblue_select_column(experiments, column,
  user_key = deepblue_options("user_key"))

Arguments

experiments

- A data frame with experiments obtained from deepblue_list_experiments

column

- The name of the column that is extracted from each experiment file

user_key

- A string (users token key)

Value

A list of experiments with the selected column

See Also

deepblue_score_matrix

deepblue_list_experiments

Other Utilities for information processing: deepblue_diff

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
blueprint_DNA_meth <- deepblue_list_experiments(
genome = "GRCh38",
epigenetic_mark = "DNA Methylation",
technique = "Bisulfite-Seq",
project = "BLUEPRINT EPIGENOME")

blueprint_DNA_meth <- blueprint_DNA_meth[grep("bs_call",
 deepblue_extract_names(blueprint_DNA_meth)),]

exp_columns <- deepblue_select_column(blueprint_DNA_meth, "VALUE")

DeepBlueR documentation built on Nov. 8, 2020, 6:25 p.m.