[R] doubt about string comparison
I have two large arrays of strings array1 with 18 names and array2 with 24000 names ,I want to find the common names in both of them. My arrays are for example Array1 Array2 GAP4 HIST1B-histamine MFG12 SNRPD-signal induced... CFH1A RNF-ribose nucleic... My array 2 ,has description of the abbreviation ,how can I remove the description part before using intersect command to match common names in array1 and array2. the description and abbreviation are separated by a hyphen --. I tried using matlab ,but due to the large file size it didnot work. Can you suggest me something to overcome this problem. Thank You rk 5, 50, 500, 5000 - Store N number of mails in your inbox. Go to http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html [[alternative HTML version deleted]] __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
[R] comparison of arrays of strings
Hi i have two arrays of genes names,one with18 gene names and the other with 24000 gene names,I have to compare both of them for finding common names. I have both the arrays in .csv format.i loaded the files and tried to compare them using for and if loops but I got the error Error in Ops.factor(cgh[i, 1], cgh[j, 2]) : level sets of factors are different Please suggest me how to solve this problem or any other alternative procedure Thanks ramakanth Get the freedom to save as many mails as you wish. To know how, go to http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html [[alternative HTML version deleted]] __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
[R] question about data availale in .RData file using the biobase package
Hi all I am analyzing micro array data and I have R workspace images as my source of the data(.Rdata format).That was in the biobase package format,so I used some commands from the bio base package manual and could write the data into excel files. The data I am working on is the cancer data. I could get microarray information and recurrence information by using commands like x-pData(oncogene) y-exprs(oncogene) I think the survival information should also be in the .RData file.How can i know what all information is available in the give file. Please let me know any commands that show what type of information is available in the given file from a bio base package. Thank You rama kanth Download prohibited? No problem! To chat from any browser without download, Click Here: http://in.messenger.yahoo.com/webmessengerpromo.php __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
[R] problem with Axis labels
Hi I am using the pamr.plotsurvival fucntion to plot the KM curves,how can I change the x axis and y axis labels according to my interest. Thanks Looking for people who are YOUR TYPE? Find them at in.groups.yahoo.com __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.