listInv(object, hapCode, geno, ROI, saveRes, thBic, all, saveROI)scan. Results of scanning the genome for an inversion with a fixed window size; output of scanInv.
HaploCode. Object with the result of coding haplotypes for each candidate brake-point; output of codeHaplo
logical. Whether original data is genotypes of phased haplotypes.
numeric. 2-vector specification passes the chromosome segment to be analyzed. 4-vector specification passes the region of interest for the left brake-point (ROI[1] and ROI[2]) and the right brake-point (ROI[3] and ROI[4]). ROI should be specified in mega-basis units.
logical.Whether results should be saved into file list Inv.RData
numeric. BIC threshold above which trial segments are selected.
logical. Whether recomputing within the ROI should be done for all possible segment sizes or the window size in scan.
logical. Whether saving the blocks for the candidate break-points for all the ROIs.
inversionList
signature(object = "scan")listInv is both a method for class scan and constructor of inversionList. It re-runs the inversion model within the ROIs found in the previous scan. However, it is also possible to explicitly pass the ROIs defined by the user. The re-run is done with the same window size of the scan, which is convenient if enough significant trial segments where found within the inversion segment. If a more detailed re-run is needed set all=TRUE. This computes the model for all possible trial segments of any length within the ROI. Note that for high SNP density this can be computational intensive.HaploCode,scan,inversionList
data(scanRes)
data(hapCode)
invList<-listInv(scanRes,hapCode=hapCode,geno=FALSE,saveRes=FALSE,all=FALSE,thBic=0, saveROI=FALSE)
invList
Run the code above in your browser using DataLab