mergeProfilesLists: Combines two lists of profiles into one

Description Usage Arguments Value Author(s) Examples

Description

Combines two lists of profiles, that is two lists with three components, 'MF', 'BP', 'CC' into a single one.

Usage

1
mergeProfilesLists(profilesList1, profilesList2, emptyCats = F, profNames = NULL)

Arguments

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.

Value

A list of profiles with more than one column each.

Author(s)

Alex Sanchez

Examples

1
2
3
4
5
6
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"))

goProfiles documentation built on Nov. 8, 2020, 8:12 p.m.