| RA | R Documentation |
Class for storing reference/alternative (RA) data and methods for performing exporartory data analysis on sequencing data.
## Create RA object RAobj <- readRA(rafile, snpsubset=NULL, sampthres = 0.01, excsamp = NULL) ## RA Functions (Methods) RAobj$extractVar(nameList) RAobj$mergeSamples(samID, useID=TRUE) RAobj$writRA(snpsubset=NULL, indsubset=NULL, file="GUSbase") RAobj$writeVCF(snpsubset=NULL, indsubset=NULL, file="GUSbase", IDuse=NULL)
An RA object is returned from the readRA function and contains the RA data, various
statistics of the dataset that have been computed, and functions (or methods) for analyzing the data.
A list of the methods that are available to an RA object:
$extractVarExtract private variables stored in an RA object
$mergeSamplesMerge read counts for different samples
$writeRAConvert the data in the RA object back to an RA file
$writeVCFConvert the data in the RA object back to VCF format
new()RA$new(List)
print()RA$print(...)
mergeSamples()RA$mergeSamples(samID, useID = TRUE)
extractVar()RA$extractVar(nameList)
cometPlot()RA$cometPlot( ploid = 2, filename = NULL, cex = 1, maxdepth = 500, maxSNPs = 1e+06, res = 300, ind = FALSE, ncores = 1, ... )
rocketPlot()RA$rocketPlot( ploid = 2, filename = NULL, cex = 1, maxdepth = 500, maxSNPs = 1e+05, res = 300, scaled = TRUE, ... )
RDDPlot()RA$RDDPlot(ploid = 2, filename = NULL, maxdepth = 500, maxSNPs = 1e+05, ...)
writeVCF()RA$writeVCF(snpsubset = NULL, indsubset = NULL, file = "GUSbase", IDuse = NULL)
writeRA()RA$writeRA(snpsubset = NULL, indsubset = NULL, file = "GUSbase")
clone()The objects of this class are cloneable with this method.
RA$clone(deep = FALSE)
deepWhether to make a deep clone.
Timothy P. Bilton
readRA
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.