$extractVar | R Documentation |
Method for extracting the private variables of an RA object.
RAobj$extractVar(nameList)
A list of the variable names to be extracted from the RA object.
Timothy P. Bilton
RA
vcffile <- simDS()
rafile <- VCFtoRA(vcffile$vcf)
RAdata <- readRA(rafile)
## extract the depth matrix
depthMat <- RAdata$extractVar(c("ref","alt"))
str(depthMat)
## extract the chromosome and positions
assemblyInfo <- RAdata$extractVar(c("chrom","pos"))
str(assemblyInfo)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.