Description Usage Arguments Details Value Author(s) See Also Examples
Identifies MSV-5 markers for which both paralogs are either “AA”, “BB”, or “AB”
1 | getSingleCalls(BSRed)
|
BSRed |
|
For use in other functions, such as unmixParalogues
and
assignParalogues
. May be called initially by user in
order to save time in the subsequent calculations. All monomorphic
markers [“AA”,“AA”] and [“BB”,“BB”], as
well as parental markers with genotype [“AB”,“AB”] are
identified.
Matrix of size dim(BSRed)
containing calls in {0, 1/2, 1} for
the markers in question, NA
otherwise
Lars Gidskehaug
unmixParalogues
, assignParalogues
,
AlleleSetIllumina
, callGenotypes
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | ## Not run:
#Read markers into an AlleleSetIllumina object
rPath <- system.file("extdata", package="beadarrayMSV")
normOpts <- setNormOptions()
dataFiles <- makeFilenames('testdata',normOpts,rPath)
beadFile <- paste(rPath,'beadData_testdata.txt',sep='/')
beadInfo <- read.table(beadFile,sep='\t',header=TRUE,as.is=TRUE)
BSRed <- createAlleleSetFromFiles(dataFiles[1:4],beadInfo=beadInfo)
#Genotype calling and selection of some MSV-5s
BSRed <- callGenotypes(BSRed)
BSRed <- validateCallsPedigree(BSRed)
iMSV5 <- fData(BSRed)$Classification %in% 'MSV-5' &
fData(BSRed)$Ped.Errors %in% 0
plotGenotypes(BSRed,markers=which(iMSV5))
#Find markers in question and compare
singleCalls <- getSingleCalls(BSRed[iMSV5,])
print(assayData(BSRed)$call[iMSV5,1:4])
print(singleCalls[,1:4])
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.