Is there a method or package in R to generate network or perform network analysis using R
igraph, tidygraph, wgcna, ... There's a few others mentioned in the graphical models Task view.
check igraph package
Google gives many tutorials:
Short answer "yes, there is method/package in R". Please improve your post by providing example input data, and expected output.
My tutorial appears to be a perfect fit:
Network plot from expression data in R using igraph
If you already have your own data matrix, then start from Step 2
Login before adding your answer.