Description Usage Arguments Details Value Author(s) See Also Examples
Set region from which to return genome variation data.
1  | vcf_setregion( vcffh, tid, from=NA, to=NA )
 | 
vcffh | 
 VCF file handle  | 
tid | 
 Either a chromosome identifier (from and to MUST be specified) or a region string (rendering from and to unnecessary)  | 
from | 
 Start position of the region from which to return data, if str is a chromosome identifier  | 
to | 
 End position of the region from which to return data, if str is a chromosome identifier  | 
Parameter 'regionstr' is of the form "chr:beg-end", e.g. "1:102910-210030" for chromosome 1, positions >= 102910 and <= 210030. Use .Call("VCF_setRegion", vcffh, chromosomeid, from, to ) to eliminate the overhead of using the R wrapper function.
TRUE or FALSE , whether the call succeeded or not.
Ulrich Wittelsbuerger
1 2 3 4 5 6 7  | 	##
	##	Example:
	##
	vcffile <- vcf_open( system.file( "extdata" , "ex.vcf.gz" , package="WhopGenome" ) )
	
	vcf_setregion(vcffile, "Y", 1, 100000 )
	vcf_readLineVec( vcffile )
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.