search_interaction: This function identity search the interactions in the flybase...

Description Usage Arguments Examples

View source: R/search_interactions.R

Description

This function identity search the interactions in the flybase data

Usage

1
2
search_interaction(input_interactions, type = c("all", "ppi", "rna", "tf",
  "generic"))

Arguments

input_interactions

data.frame with two cols

type

interaction type one of 'all',"ppi","rna","tf","generic"

Examples

1
2
3
4
5
6
7
## Not run: 
input_interactions = data.frame(id1 = c('FBgn0011656','FBgn0003149',"7872"),id2 = c('FBgn0003149','FBgn0003900',"9232"))
output = search_interaction(input_interactions=pairs,type="all")
output%>%do(data.frame(type=.$type,.$outdata%>%select(id1,id2)))%>%group_by(type)%>%summarise(n=n())
output%>%do(data.frame(type=.$type,.$outdata))%>%select(id1,id2,PMID_URL)%>%tail

## End(Not run)

YunlongNie/flyfuns documentation built on Oct. 15, 2020, 6:11 p.m.