genoSet {SHARE} | R Documentation |
A class for storing genotype sequences and phenotype information.
Objects can be created by calls of the form new("genoSet", ...)
.
genoSeq
:"data.frame"
to store
allelic data with sequence names as row names and SNP names
as column names.phenoData
:"data.frame"
to
store phenotype information for each genotype sequence. The names
of the phenotype are used as the column names, and the row names
should match the sequence names in the genoSeq
slot. signature(.Object = "genoSet")
: extract the
"data.frame"
object in the genoSeq
slot.signature(.Object = "genoSet")
: to estimate the
haplotype sequences by EM algorithm in the haplo.stats
package. signature(.Object = "genoSet")
: return the
"data.frame"
object in the phenoData
slot.Ting-Yuan Liu
showClass("genoSet") ## See vignette for more details ## Not run: unphasedGeno <- new("genoSet", genoSeq = data.frame(keremRandAllele), phenoData = data.frame(CF=keremRandStatus) ) unphasedGeno ## End(Not run)