Description Usage Arguments Details Value See Also Examples
Function to merge multiple annotatedSNPset objects into a single object.
1 | anno.merge(anno.list)
|
anno.list |
A list of multiple |
If several objects merged as a single object then all equivalence classes of input objects are merged to form a new equivalence class. eq.map
matrix stores this mapping information i.e which input equivalence classes form the new equivalence classes. For a merged object,snp.eq
is created by using this new equivalence class. The eq.mat
lists are concatenated to hold one binary matrix from each merged object.
It returns an object of annotatedSNPset-class.See annotatedSNPset-class
for details.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | ## Not run:
snpfile <- system.file("sampleData", "snpData.rda", package="GKnowMTest")
pathfile <- system.file("sampleData", "pathData.rda", package="GKnowMTest")
anmfile <- system.file("sampleData", "anmData.rda", package="GKnowMTest")
load(snpfile) ## loads snpdf
load(pathfile) ## loads a R list of gene symbols
load(anmfile) ##loads annotation matrix
snp<-rownames(snpdf)
ob1=anno.create(snp,path.def=pathlist) ## Genelist as Pathlist
##creation of annotation matrix
res=create.anno.mat(snp,base.path="/home/Datasets/Encode/",
fl.suffix=".annot.wdist.wcoding")
anm=res[[1]]
ob2<-anno.create(snp,anno.mat=anm) #annotation matrix as pathlist
## End(Not run)
obfile <- system.file("sampleData", "obData.rda", package="GKnowMTest")
load(obfile) ##loads two mapping objects ob1 and ob2.
ob3=anno.merge(list(ob1,ob2))
ob3
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.