load_CoGAPS_res: Load a set of CoGAPS results

Description Usage Arguments Value Examples

View source: R/load_CoGAPS_res.R

Description

load_CoGAPS_res() loads a set of CoGAPS results.

Usage

1
load_CoGAPS_res(res_dir, res_name, nFactor_range, name_output = T)

Arguments

res_dir

name of directory containing CoGAPS results. Each CoGAPS result should be contained in a folder with the name "run_x" in numerical order based on the length of nFactor_range.

res_name

name of .RData result files.

nFactor_range

range of nFactor used in the set of CoGAPS results.

name_output

logical; whether to name output according to nFactor_range. Each CoGAPS_res will be named "nPXX", "nPXY" etc.

Value

a list of CoGAPS objects

Examples

1
2
myCoGAPSres <- load_CoGAPS_res(res_dir = "myCoGAPSres_set", res_name = "myCoGAPS_result", 
nFactor_range = c(25,60,5))

jacobheng/cellwrangler documentation built on Aug. 12, 2019, 6:49 a.m.