Description Usage Arguments Details Value Author(s) Examples
This function is an example of reading the output of GenomeStudio and
producing a data.frame
required by cnv.plot
.
1 2 3 | read.illumina(file, snp.name = "SNP Name", sample.name = "Sample ID",
chr.name = "Chr", pos.name = "Position", baf.name = "B Allele Freq",
lrr.name = "Log R Ratio")
|
file |
The GenomeStudio file to process. |
snp.name |
The name of the SNP ID column. |
sample.name |
The name of the sample ID column. |
chr.name |
The name of the chromosome column. |
pos.name |
The name of the SNP position column. |
baf.name |
The name of the B allele frequency column. |
lrr.name |
The name of the log R ratio column. |
The input file is the output (i.e., final report) from GenomeStudio. It
must contain at least six columns with the SNP name, sample ID, chromosome,
position B allele frequency and log R ratio in it. The exact column name
must match the parameters chr.name
, pos.name
, baf.name
and lrr.name
respectively.
A data.table
instance with six columns: SNP.Name
,
Sample.ID
, Chr
, Position
, BAF
and LRR
.
Jonathan Ellis <jonathan.j.ellis@gmail.com>
1 2 3 4 | ## Not run:
x <- read.illumina('LC1_TUMOUR_A_FinalReport.txt')
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.