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

unionMicro-methodsR Documentation

Makes the union between two micro_array objects.

Description

Makes the union between two micro_array objects.

Usage

## S4 method for signature 'micro_array,micro_array'
unionMicro(M1, M2)

Arguments

M1

a micro-array or a list of micro-arrays

M2

a micro-array or nothing if M1 is a list of micro-arrays

Methods

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

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

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

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

Examples


data(M)
#Create another microarray object with 100 genes
Mbis<-M
#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))


Cascade documentation built on Nov. 28, 2022, 5:10 p.m.