R/cnv_main.R
cnv_readprofile.RdThis function is used to read copy number profile for preparing CNV signature analysis.
cnv_readprofile(input, is_dir = FALSE, pattern = NULL, ignore_case = FALSE, sep = "\t", cols = c("Chromosome", "Start.bp", "End.bp", "modal_cn"), have_sampleCol = TRUE, sample_col = "sample")
| input | a |
|---|---|
| is_dir | is |
| pattern | an optional regular expression used to select part of files if input is a directory, more detail please see
|
| ignore_case | logical. Should pattern-matching be case-insensitive? |
| sep | the field separator character. Values on each line of the file are separated by this character. |
| cols | four characters used to specify chromosome, start position, end position and copy number value, respectively. Default use names from ABSOLUTE calling result. |
| have_sampleCol | Whether input have sample column or not.
This argument must be |
| sample_col | a character used to specify the sample column name. |
a list contains absolute copy-number profile for multiple samples.