Description Usage Arguments Value Author(s) See Also Examples
this pipeline integrate multiple independent steps in VSHunter
.
1 2 3 4 5 6 7 | 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, ranks = NULL, nrun = 10,
seed = 123456, plot_survey = TRUE,
consensusmap_name = "nmf_consensus", 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 cnv_fitMixModels,
default is |
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 flexmix package. |
model_selection |
model selection strategy, default is 'BIC'. Details about custom setting please refer to flexmix package. |
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. |
ranks |
a integer vector, manually specify |
nrun |
the number of run to perform for each value in range of 2 to |
seed |
seed number. |
plot_survey |
logical. If |
consensusmap_name |
a character, basename of consensus map output path. |
testRandom |
Should 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..
Shixiang Wang w_shixiang@163.com
Other CNV analysis functions: cnv_autoCaptureSignatures
,
cnv_chooseSigNumber
,
cnv_derivefeatures
,
cnv_extractSignatures
,
cnv_fitMixModels
,
cnv_generateSbCMatrix
,
cnv_getLengthFraction
,
cnv_plotDistributionProfile
,
cnv_plotFeatureDistribution
,
cnv_plotMixComponents
,
cnv_plotSignatures
,
cnv_quantifySigExposure
,
cnv_readprofile
1 2 3 4 5 6 7 | ## 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")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.