#Loading example datasets
data(H_sapiens)
data(A_thaliana)
#Defining the column with the GO terms to be compared
GOterm_field <- "Functional_Category"
#Defining the species names
species1 <- "H. sapiens"
species2 <- "A. thaliana"
#Running function
x <- evaluateCAT_species(df1= H_sapiens,
df2=A_thaliana,
species1=species1,
species2=species2,
GOterm_field=GOterm_field,
test="prop")
print(x)
Run the code above in your browser using DataLab