| share-class {SHARE} | R Documentation |
A class to store the result of SHARE algorithm
Objects can be created by calls of the form new("share", ...).
uhap:"vector"; the
concatenated haplotype sequencesweight:"vector"; the weight
of each haplotypenFold:"numeric"; the fold
size specified while calling the cshare function to
perform the cross-validation approachmaxSNP:"numeric"; the
maximum SNP size specified while calling the cshare functionuseddeviance:"vector"; the
prediction deviance from cross-validation approach, or the BIC
from BIC approachbestsize:"numeric"; the
size of most informative SNPsfinalHap:"data.frame"; the
result of estimated haplotype sequences with the selected SNPsfinalHapFreq:"vector"; the
frequencies of the estimated haplotype sequences with the selected SNPs finalHapTest:"data.frame";
the hypothesis test results of the estimated haplotype sequences
with the selected SNPs globalP:"numeric"; the
global p-valuesmodelmethod:"character"; the
mothod of model selection specified while calling the
cshare functionhaploSeq:"data.frame"; the
original haplotype sequences with all SNPshaploFreq:"vector"; the
frequencies of the original haplotype sequences with all SNPspheno:"data.frame" to store
the phenotype informationinherit:
Class "haplo", directly.
Class "haploSet", by class "haplo", distance 2.
signature(shareObj = "share"): to create the
deviance plot to show the estimation of SNP size James Y. Dai & Ting-Yuan Liu
showClass("share")
## See vignette for more details
## Not run:
dplot(unphasedKerem[["Cross-Val"]])
dplot(unphasedKerem[["BIC"]])
## End(Not run)