Learn R Programming

IdMappingAnalysis (version 1.16.0)

aligned.IdMapBase: Checks if two IdMapBase objects match on column names and primary ID set

Description

Checks if two IdMapBase objects match on column names and primary ID set.

Usage

"aligned"(this, other, ...)

Arguments

other
The second ID Map object to check the matching against.
...
Not used.

Value

if two IdMapBase objects are matching, otherwise FALSE.

See Also

For more information see IdMapBase.

Examples

Run this code
 obj1<-IdMapBase(examples$identDfList[[1]]);
 obj2<-IdMapBase(examples$identDfList[[2]]);
 aligned(obj1,obj2);

 obj3<-IdMapBase(obj1[1:10,]);
 DF<-cbind(obj1[1:10,1],obj2[1:10,2]);
 colnames(DF)<-colnames(obj3);
 obj4<-IdMapBase(DF);
 aligned(obj3,obj4);
 

Run the code above in your browser using DataLab