mergeProfilesLists {goProfiles} | R Documentation |
Combines two lists of profiles, that is two lists with three components, 'MF', 'BP', 'CC' into a single one.
mergeProfilesLists(profilesList1, profilesList2, emptyCats = F, profNames = NULL)
profilesList1 |
First list to combine |
profilesList2 |
Second list to combine |
emptyCats |
Boolean. Set to TRUE if there are empty categories that should be accounted for in any of the profiles |
profNames |
Names for the profiles (optional). If missing they are set to 'Frequency-1', 'Frequency-2',etc. |
A list of profiles with more than one column each.
Alex Sanchez
require(goProfiles) data(prostateIds) welsh.MF <- basicProfile (welsh01EntrezIDs[1:100], onto="MF", level=2, orgPackage="org.Hs.eg.db") singh.MF <- basicProfile (singh01EntrezIDs[1:100], onto="MF", level=2, orgPackage="org.Hs.eg.db") plotProfiles(welsh.MF,'Functional profiles for Welsh dataset',percentage=TRUE) welsh.singh.MF <-mergeProfilesLists(welsh.MF, singh.MF, profNames=c("Welsh", "Singh"))