View source: R/mostFrequentGOs.R
mostFrequentGOs | R Documentation |
Provides an easy way to get the frequency of GO terms such as biological processes for a data frame and a series of features
mostFrequentGOs(df, GOterm_field)
df |
A data frame with the results of a functional enrichment analysis for a species with an extra column "feature" with the features to be compared |
GOterm_field |
This is a string with the column name of the GO terms (e.g; "Functional.Category") |
This function will return a table with the frequency of GO terms per feature
#Loading example datasets data(H_sapiens) #Defining the column with the GO terms to be compared GOterm_field <- "Functional_Category" #Running function x <- mostFrequentGOs(df=H_sapiens, GOterm_field=GOterm_field) #Displaying results head(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.