Description Usage Arguments Details Value Author(s) See Also Examples
Checks that genotypes follow basic rules of inheritance
1 2 3 | validateCallsPedigree(BSRed)
validateSingleCall(marker, classification)
|
BSRed |
|
marker |
Data frame with at least the columns “Call”
and “PedigreeID” for a single marker. The first
corresponds to the |
classification |
Character string with genotype call category for the marker (see
|
validateCallsPedigree is usually faster and easier to use
compared to validateSingleCall. The latter is more often called
by other functions, however it has a slightly more detailed outut.
Output from validateCallsPedigree is an
"AlleleSetIllumina" object with an added assayData
entry “ped.check”. This logical matrix is FALSE for all
offspring violating the pedigree information, an all parents are
NA
Output from validateSingleCall is a numeric vector with {0, 1,
2} denoting no error, offspring error, and parent error, respectively
Lars Gidskehaug
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | ## Not run:
#Read pre-processed data directly into 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, pedigree validation and plotting
BSRed <- callGenotypes(BSRed)
BSRed <- validateCallsPedigree(BSRed)
plotGenotypes(BSRed,1:25)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.