Re: [R] Merge the data from multiple text files

2019-01-07 Thread Priya Arasu via R-help
t; [2,] "B = (A and C) and not(D)" [3,] "C = D" > write(TF.final, file="TF.output.txt") The text file "TF.output.txt" contains the three lines. -- David L. Carlson Department of Anthropology Texas A&M Unive

[R] Merge the data from multiple text files

2019-01-05 Thread Priya Arasu via R-help
I have multiple text files, where each file has Boolean rules. Example of my text file 1 and 2 Text file 1: A = not(B or C) B = A and C C = D Text file 2: A = D and E B = not(D) I want to merge the contents in text file as follows A = not(B or C) and (D and E) B = not(D) and (A and C) C = D Is the

Re: [R] Function to save results

2017-11-01 Thread Priya Arasu via R-help
32110   0 | 001244   0 | 556789   1 | 113   1 | 5788 > # Success Depending on your operating system, you may also be able to save the output with File | Save to File. --- David L Carlson Department of Anthropology Texas A&M University College Statio

Re: [R] Function to save results

2017-11-01 Thread Priya Arasu via R-help
Desktop//Attractor analysis_all genes//synaptogenesis// regulationof_dopamine_ signaling_submodule3.txt")attr <- getAttractors(net, type="asynchronous") sink() HTH,Eric   On Wed, Nov 1, 2017 at 4:10 PM, Priya Arasu wrote: Hi Eric,I tried as you suggested but I could not fin

Re: [R] Function to save results

2017-11-01 Thread Priya Arasu via R-help
ed by sinksink() HTH,Eric On Wed, Nov 1, 2017 at 1:32 PM, Priya Arasu via R-help wrote: Hi,I want the results to be saved automatically in a output text file after the script has finished running. I used the sink function in the following example, but the results file (output.txt) was empty.

[R] Function to save results

2017-11-01 Thread Priya Arasu via R-help
Hi,I want the results to be saved automatically in a output text file after the script has finished running. I used the sink function in the following example, but the results file (output.txt) was empty. net <- loadNetwork("C://Users//Priya//Desktop//Attractor analysis_all genes//synaptogenes

Re: [R] Help-Text file

2016-11-08 Thread Priya Arasu
ay, 5 November 2016 10:28 PM, Jeff Newmiller wrote: Sorry, but this request is quite hard to understand... you are basically directing your question at an incredibly narrow set of people who happen to have combined your kind of data read in the way you read it in with your kind of analysis

[R] Help-Text file

2016-11-05 Thread Priya Arasu via R-help
Hi, I am using R 3.3.1 in R studio version 1.0.44 (Windows10, 64 bit system). I could import text file with Boolean rules, but when I start doing analysis in R, I get the error: I have been trying to do attractor analysis using R package Boolnet, using the command: attr <- getAttractors(ne

[R] Stop R script from running, when the memory goes beyond 15.4GB

2016-11-05 Thread Priya Arasu via R-help
Hi, I am using R 3.3.1 in RedHat Linux7 , 64bit system (16GB RAM).  I could run simulation in R package, Boolnet for 25 genes without any problem. When I add more gene i.e. 26 genes, the system becomes slow. Simulation keeps running for more than a day. I have to stop the simulation, as it