R/countcon.R

Defines functions countcon

countcon <-
function(network){
unet = unlist(strsplit(network,' '))
ncon = sort(table(c(unet)), decr=TRUE) ## number of connections for each gene, sorted
genes = names(ncon)   #unique names
return(list(genes=genes,ncon=ncon))
}

Try the neaGUI package in your browser

Any scripts or data that you put into this service are public.

neaGUI documentation built on May 2, 2019, 5:41 p.m.