loadLocalFiles: Load local files

Description Usage Arguments Value See Also Examples

View source: R/data_local.R

Description

Load local files

Usage

1
2
3
4
5
6
loadLocalFiles(
  folder,
  ignore = c(".aux.", ".mage-tab."),
  name = "Data",
  verbose = FALSE
)

Arguments

folder

Character: path to folder containing files of interest

ignore

Character: skip folders and filenames that match the expression

name

Character: name of the category containing all loaded datasets

verbose

Boolean: detail steps while parsing?

Value

List of data frames from valid files

See Also

Other functions to load data: loadGtexData(), loadSRAproject(), loadTCGAdata()

Examples

1
2
3
4
5
6
7
8
## Not run: 
folder <- "~/Downloads/ACC 2016"
data <- loadLocalFiles(folder)

ignore <- c(".aux.", ".mage-tab.", "junction quantification")
loadLocalFiles(folder, ignore)

## End(Not run)

Example output

Loading required package: shiny
Loading required package: shinyBS
Start the visual interface by running the function psichomics()
Warning message:
In read.dcf(con) :
  URL 'http://bioconductor.org/BiocInstaller.dcf': status was 'Couldn't resolve host name'
Searching inside the folder... 0
Searching inside the folder... 0
$Data
named list()

psichomics documentation built on Nov. 8, 2020, 5:44 p.m.