feaResult {signatureSearch} | R Documentation |
feaResult-class
This is a helper function to construct a feaResult
object. For
detail description, please consult the help file of the
feaResult-class
.
feaResult( result, organism = "UNKNOWN", ontology = "UNKNOWN", drugs = "UNKNOWN", targets = "UNKNOWN" )
result |
tibble object containing the FEA results |
organism |
character(1), organism information of the annotation system |
ontology |
character(1), ontology type of the GO annotation system. If the annotation system is KEGG, it will be 'KEGG' |
drugs |
character vector, input drug names used for the enrichment test |
targets |
character vector, gene labels of the gene/protein targets for the drugs |
feaResult
object
fr <- feaResult(result=dplyr::tibble(id=letters[seq_len(10)], val=seq_len(10)), organism="human", ontology="MF", drugs=c("d1", "d2"), targets=c("t1","t2"))