this pipeline integrate multiple independent steps in VSHunter
.
cnv_pipe(CN_data, cores = 1, genome_build = c("hg19", "hg38"), de_novo = TRUE, reference_components = NULL, min_comp = 2, max_comp = 10, min_prior = 0.001, model_selection = "BIC", nrep = 1, niter = 1000, nTry = 12, nrun = 10, seed = 123456, plot_survey = TRUE, testRandom = FALSE, nmfalg = "brunet", tmp = FALSE)
CN_data | a |
---|---|
cores | number of compute cores to run this task. You can use |
genome_build | genome build version, must be one of 'hg19' or 'hg38'. |
de_novo | default is |
reference_components | the object result from |
min_comp | minimal number of components to fit, default is 2. |
max_comp | maximal number of components to fit, default is 10. |
min_prior | minimal prior value, default is 0.001. Details about custom setting please
refer to |
model_selection | model selection strategy, default is 'BIC'.Details about custom setting please
refer to |
nrep | number of run times for each value of component, keep only the solution with maximum likelihood. |
niter | maximal number of iteration to achive converge. |
nTry | the maximal tried number of signatures, default is 12. Of note, this value should far less than number of features or samples. |
nrun | the number of run to perform for each value in range of 2 to |
seed | seed number. |
plot_survey |
|
testRandom | if generate random data from input to test measurements. Default is |
nmfalg | specification of the NMF algorithm. |
tmp | whether create a tmp directory to store temp result or not, default is |
a list
contains results of NMF best rank survey, run, signature matrix, exposure list etc..
# NOT RUN { ## load example copy-number data from tcga load(system.file("inst/extdata", "example_cn_list.RData", package = "VSHunter")) ## run cnv signature pipeline result = cnv_pipe(CN_data = tcga_segTabs, cores = 1, genome_build = "hg19") # }