Description Usage Arguments Details Value Note
Loads SNP array data in a tabular format
1 |
snps.file |
The name of the file with the data |
genome |
The name of the genome (default to "hg19") |
chr.col |
The name or number of the column with chromosome information. If NULL, it is automatically identified. (default to NULL) |
pos.col |
The name or number of the column with position information. If NULL, it is automatically identified. (default to NULL) |
baf.col |
The name or number of the column with BAF information. If NULL, it is automatically identified. (default to NULL) |
lrr.col |
The name or number of the column with LRR information. If NULL, it is automatically identified. (default to NULL) |
snp.col |
The name or number of the column with SNP identifier information. If NULL, it is automatically identified. (default to NULL) |
verbose |
Wether information messages should be generated. (default to TRUE) |
Given a file name, the function loads SNP array data in a tabular format. It will try to identify the columns with the relevant information (chr, position, BAF, LRR, etc...) or will use the column number or name supplied by the user, if any. It will convert the tabular data into a GRanges, with one range per SNP in the table.
A GRanges object with a range per SNP
The returned GRanges will have the chromosome names following the UCSC style irrespective of the original format.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.