unionMicro-methods: Makes the union between two micro_array objects.

Description Methods Author(s) Examples

Description

Makes the union between two micro_array objects.

Methods

signature(M1 = "micro_array", M2 = "micro_array")

Returns a micro_array object which is the union of M1 and M2.

signature(M1 = "list", M2 = "ANY")

Returns a micro_array object which is the union of the elements of M1.

Author(s)

Bertrand Frederic, Myriam Maumy-Bertrand.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
if(require(CascadeData)){
data(micro_S, package="CascadeData")
#Create another microarray object with 100 genes
Mbis<-M<-as.micro_array(micro_S[1:100,],1:4,6)
#Rename the 100 genes
Mbis@name<-paste(M@name,"bis")
rownames(Mbis@microarray) <- Mbis@name
#Union (merge without duplicated names) of the two microarrays. 
str(unionMicro(M,Mbis))
}

fbertran/Patterns documentation built on Dec. 4, 2019, 1:12 p.m.