search for: curcio

Displaying 10 results from an estimated 10 matches for "curcio".

Did you mean: ciurcio
2011 Jul 31
5
Appending 4 Digits On A File Name
...richcdt, by="gene") file.name <- paste ("kegg.subrichcdt.", i, ".txt", sep="") write.table(temp, file=file.name) } ####### But I want: "kegg.subrichcdt.0001.txt" "kegg.subrichcdt.0002.txt", ... Any suggestions M -- Matt Curcio M: 401-316-5358 E: matt.curcio.ri at gmail.com
2011 Aug 01
4
Use dump or write? or what?
...) two_sample_ttest <- t.test (tempA, tempB, var.equal = TRUE) welch_ttest <- t.test (tempA, tempB, var.equal = FALSE) dump (two_sample_ttest, file = "dumpdata.txt"", append=TRUE) ttest_results <- file.append (ttest_results, two_sample_ttest) Any suggestions, M -- Matt Curcio M: 401-316-5358 E: matt.curcio.ri at gmail.com
2011 Aug 03
2
Error message for MCC
...<- nrow(temp1) + tt_pvalue <- matrix(data=temp, nrow=numrows, ncol=vl) + colA <- temp[,compareA] + colB <- temp[,compareB] + tt <- t.test(colA, colB, var.equal=TRUE) + tt_pvalue <- tt$p.value + } Error in temp[, compareA] : incorrect number of dimensions -- Matt Curcio M: 401-316-5358 E: matt.curcio.ri at gmail.com
2011 Aug 01
2
Errors, driving me nuts
...O > file.name = paste("ttest.results.", compareA, compareB, "") > setwd(save_to) > write.table(tt_pvalue, file=file.name, sep="\t" ) Error in inherits(x, "data.frame") : object 'tt_pvalue' not found # No idea?? What is going wrong?? M Matt Curcio M: 401-316-5358 E: matt.curcio.ri at gmail.com
2011 Aug 07
1
reshape::rename package unable to install !?!
...ng, BUT when I tried to reinstall 'reshape' or 'reshape2' I COULDN't. Is there a way to get over this hurdle with reshape or is there another command I can use. I am stuck because my programs up to this point used 'rename' and now I have to redo some work. M -- Matt Curcio M: 401-316-5358 E: matt.curcio.ri at gmail.com
2011 Aug 16
1
Unusual separators
...., sep=" \t", ...) but got an error that said something like 'only one byte separators can be used. I have thought about using a gsub to 'swap out' the "space + tab" and replace it with commas, etc but thought there might be another way. Any suggestions? M -- Matt Curcio M: 401-316-5358 E: matt.curcio.ri at gmail.com
2011 Aug 05
2
Which is more efficient?
...colB <- temp [ , k ] ttr <- t.test ( colA, colB, var.equal=TRUE) tt_pvalue [ i ] <- ttr$p.value } } } -------------------------------- I am a novice writer of code and am interested to hear if there are any (dis)advantages to one way or the other. M Matt Curcio M: 401-316-5358 E: matt.curcio.ri at gmail.com
2010 Oct 27
2
Data.frame Vs Matrix Vs Array: Definitions Please
Hi All, I am learning R and having a little trouble with the usage and proper definitions of data.frames vs. matrix vs vectors. I have read many R tutorials, and looked over ump-teen 'cheat' sheets and have found that no one has articulated a really good definition of the differences between 'data.frames', 'matrix', and 'arrays' and even 'factors'. I
2011 Oct 16
1
Opening Screen
Greetings All, What is the procedure to make the open screen for R silent. I would to have my opening screen in Ubuntu 10.04 linux open to an empty terminal. Instead of the list of licenses and version of R that is being run. By the way, I am using RStudio as well. I have entered the following lines into my '/home/user/.Rprofile' but this is more of a 'cheat' ;) to me. .First
2011 Jul 27
1
To Merge or to use Indicator Variables?
Greetings all, I have two sets of data that I would like to investigate. The first is gene/genome related data given different 'cell-states'. The second set of data is relates the genes to a biological pathway. /(I think in pictures so here goes.)/ *dataframe1* gene, cell-state1, cell-state2 gene1, x1, y1 gene2, x2, y2 gene.x, ..., ... *dataframe2* pathway1, gene-x1, gene-x2, ...