Description Usage Arguments Slots See Also Examples
View source: R/methods-CopyNumScanParams.R
Raw SNP array processed files have headers and variable labels that
may depend the software, how the output files was saved, the
software version, and other factors. The purpose of this container
is to collect the parameters relevant for reading in the source
files for a particular project in a single container. This may
require some experimentation as the example illustrates. The
function fread
in the data.table
package
greatly simplifies this process.
1 2 3 4 5 6 7 8 9 10 11 12 |
cnvar |
length-one character vector providing name of variable for log R ratios |
bafvar |
length-one character vector providing name of variable for B allele frequencies |
gtvar |
length-one character vector providing name of variable for genotype calls |
index_genome |
integer vector indicating which rows of the of the source files (e.g., GenomeStudio) to keep. By matching on a sorted GRanges object containing the feature annotation (see example), the information on the markers will also be sorted. |
select |
integer vector specifying indicating which columns of the source files to import (see examples) |
scale |
length-one numeric vector for rescaling the raw data and coercing to class integer. By default, the low-level data will be scaled and saved on disk as integers. |
row.names |
length-one numeric vector indicating which column the SNP names are in |
object |
a |
index_genome
an integer vector
cnvar
the column label for the log R ratios
bafvar
the column label for the B allele frequencies
gtvar
the column label(s) for the genotypes
scale
length-one numeric vector indicating how the low-level data should be scaled prior to saving on disk
select
numeric vector indicating which columns to read
row.names
length-one numeric vector indicating which column the SNP names are in
1 | CopyNumScanParams() ## empty container
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.