extractFiles: extractFiles

View source: R/utils.R

extractFilesR Documentation

extractFiles

Description

Extract files from each sample's folder and rename them with sample's name.

Usage

extractFiles(
  savePath,
  sampleNames,
  outputPath,
  files = c("report-scStat.html", "report-scAnno.html"),
  subfolders = NULL
)

Arguments

savePath

A path of samples' result folder.

sampleNames

A vector of samples' names (the subfolder names in 'savePath').

outputPath

A path to saving the extracted reports.

files

The name of files you want to extract. The default is c("report-scStat.html", "report-scAnno.html").

subfolders

The name of subfolders for the files you want to extract. The default is NULL. It can be a character string, which means all files are under the subfolder. It can also be a character string vector with same length as "files", which are corresponding to "files".


wguo-research/scCancer documentation built on May 26, 2024, 9:12 p.m.