Question: aracne in R using minet package
1
gravatar for nazaninhoseinkhan
5.6 years ago by
Iran, Islamic Republic Of
nazaninhoseinkhan400 wrote:

Hi,

I am trying to work with "minet" package in R. I have to import a large table of expression values in R. in minet tutorial it has said that data must be entered as data frame using this command: data(syn.data). I do not know in which format I have to import my data or what file extension should I use.

Can anybody suggest me any solution?

Regards

Nazanin

R • 3.9k views
ADD COMMENTlink modified 4.3 years ago by Biostar ♦♦ 20 • written 5.6 years ago by nazaninhoseinkhan400

That is just an example to load the sample dataset for demonstrating the package.

You can use read.table or read.delim to read in your file/data. 

ADD REPLYlink modified 5.6 years ago • written 5.6 years ago by komal.rathi3.6k
1
gravatar for sedaghat.nafiseh
5.6 years ago by
United States
sedaghat.nafiseh20 wrote:

You can see a sample code as below:

'data' is a matrix which each row corresponds to a prob and each column corresponds to gene.

mim <- build.mim(data,estimator="spearman")

net1 <- aracne(mim,eps=0.1)

 

ADD COMMENTlink written 5.6 years ago by sedaghat.nafiseh20

Dear Nafiseh, Thanks, my problem was solved last week. I just had to use read.table command in R. The data matrix was itself in proper format. Thanks again for your consideration and Good luck Nazanin

ADD REPLYlink written 5.6 years ago by nazaninhoseinkhan400

I am also learning minet for the first time. To start with where can I get the input datasets and what are its contents in rows and columns?

ADD REPLYlink written 5.5 years ago by stroman0520
1
gravatar for nazaninhoseinkhan
5.5 years ago by
Iran, Islamic Republic Of
nazaninhoseinkhan400 wrote:

Hi

My problem was solved. The input I used was a compendium of gene expression data, i.e. the rows were gene names and the columns correspond to samples. Before using minet I had to transpose this matrix in excel, because minet needs genes as columns and samples as rows. After reading this table via read.table command, minet works properly.

Let me know if you have any question

Good luck

Nazanin

ADD COMMENTlink written 5.5 years ago by nazaninhoseinkhan400

hi Nazanin,

do u mean from aracne, ARACNE (Algorithm for the Reconstruction of Accurate Cellular Networks)?? if so, can u plz help me to launch it in windows?

thank you

ADD REPLYlink written 5.0 years ago by A3.8k
1
gravatar for nazaninhoseinkhan
5.0 years ago by
Iran, Islamic Republic Of
nazaninhoseinkhan400 wrote:

Hi Sara,

You must have R installed on your computer. Then you have to install "minet" package in the R. You can get it from Bioconductor.

You can find instruction for its running (very simple) from "minet package tutorial": http://www.bioconductor.org/packages/release/bioc/manuals/minet/man/minet.pdf

Good luck

ADD COMMENTlink written 5.0 years ago by nazaninhoseinkhan400
1
gravatar for nazaninhoseinkhan
5.0 years ago by
Iran, Islamic Republic Of
nazaninhoseinkhan400 wrote:

Sure,

Normal gene expression data sets, such as affymetrix cel files represent gene names in rows (I mean the first column) and conditions in columns. You need to transpose this table, i.e. gene names in columns and conditions in the rows.

Then using these two commands in R : 

mim <- build.mim(syn.data,estimator="spearman")
net <- aracne(mim)

You can run aracne.

Good luck

ADD COMMENTlink written 5.0 years ago by nazaninhoseinkhan400
1
gravatar for nazaninhoseinkhan
5.0 years ago by
Iran, Islamic Republic Of
nazaninhoseinkhan400 wrote:

It seems you are so confused. 

I have worked with geworkbench, minet and ARACNE itself in command line.

I am so busy but I can help you more on Skype.

let me know when it is OK for you

 

ADD COMMENTlink written 5.0 years ago by nazaninhoseinkhan400

thanks a lot for your kindness

yes you all right i am too confused and helpless at the time...i read in the manual that working with command line require access to cluster computing and some expertise...i searched for your email a lot but i could not find that. now i am working with geworkbench because i know just a little bit about R...i am so eager to talk whenever possible for you

ADD REPLYlink modified 5.0 years ago • written 5.0 years ago by A3.8k
1

Hi Sara,

I think at 9:30 PM (Tehran time) is OK for me. 

My skype id is: nazaninibb89

My email: nazaninhoseinkhan@yahoo.com

ADD REPLYlink written 5.0 years ago by nazaninhoseinkhan400

hello Nazanin

i am thankful for your attention...excuse me if i replied with delay because of some problem...

thank you for your email

ADD REPLYlink written 5.0 years ago by A3.8k
0
gravatar for A
5.0 years ago by
A3.8k
A3.8k wrote:

thanks a lot Nazanin,

i already installed R 3.2 and download "minet" package...can i ask you my question about preparing input file?? because i have not prepared excel file yet.

ADD COMMENTlink written 5.0 years ago by A3.8k
0
gravatar for A
5.0 years ago by
A3.8k
A3.8k wrote:

you know Nazanin i am totally confused now...

i opened R and typed mim <- build.mim(syn.data,estimator="spearman") but it said that Error: could not find function "build.mim"

i installed java 8 and downloaded aracne from http://wiki.c2b2.columbia.edu/califanolab/download/ARACNE/aracne.zip, unziped tnen based on manual doubled clicked on ‘launch_aracne.bat’ file but no happen i saw also this file is just 1 kb...i am in windows....

even i installed geworkbench but i could not find where i can change the aracne MI or ...until i read a post by you about working with aracne in R...

may you please help me more...really i need your help

ADD COMMENTlink written 5.0 years ago by A3.8k
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 1794 users visited in the last hour