Description Usage Arguments Details Value Author(s) See Also Examples
View source: R/step1_initialize.R
This is the first step for user to use a flexible way for copynumber data input,
absolute copy number (with purity and ploidy pair) calling. This function help
user input their copy segmentation data as file or data.frame
, input
their SNV data as file or data.frame
.
1 2 3 |
seg |
The name of file or a |
min.seg.len |
The minimum length of a segment to be included in computation. The default value is 200 bp for WES, 3000 bp for WGS and 0 bp for MicroArray. |
snv |
optinal. The name of file or a |
isMaf |
logical. Whether the specified |
sample_seg |
character, default is |
sample_snv |
same as |
platform |
character, default is 'WES'. Must be one of 'WES', 'WGS' or 'MicroArray'. |
verbose |
if |
when process data with multiple samples, absCopyNumber require data.frame/file with one
column for the sample variable, see sample_seg
option.
Support input format by absCopyNumber package please run abs_supportfiles
function.
a absCopyNumber
object
Shixiang Wang <w_shixiang@163.com>
absCopyNumber
, abs_prepare
, , abs_calling
1 2 3 4 5 6 7 | file_cn = system.file("extdata/example.cn.txt.gz", package = "absCopyNumber")
file_snv = system.file("extdata/example.snv.txt.gz", package = "absCopyNumber")
res1 = abs_initialize(seg = file_cn, snv = file_snv, verbose = T)
res2 = abs_initialize(seg = file_cn, snv = file_snv, sample_seg = "test1",
sample_snv = "test1", verbose = T)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.