tf_read: Read transcription factor correlation data

Description Usage Arguments Value

Description

This is a custom function to read the local csv files obtained from Cistrome Cancer into a list of tidy data.frames. First, the function constructs a vector of available files in the given directory and reads each of them to a data.frame. Then, it drops the damaged files and names the items of the list with the corresponding transcription factor name.

Usage

1
tf_read(dir = "tmp/tf/")

Arguments

dir

A character string of the directory containing the Cistrome Cancer files

Value

A named list of tidy data.frames. Each item of the list correspond to a transcription factor. The data.frame consist of a column containing the names of the features and a single column for each of the TCGA studies containing the correspoinding correlation value.


MahShaaban/sqlome documentation built on May 28, 2019, 1:46 p.m.