similar to: gsub semicolon with double quotation mark

Displaying 20 results from an estimated 400 matches similar to: "gsub semicolon with double quotation mark"

2010 May 12
1
paste two columns of a matrix by rows
Hello, I'm trying to paste two columns of a matrix GB_ACC GENE GENE_SYMBOL NM_010657 NM_010657 NM_027162 NM_027162 NM_198863 NM_198863 NM_010727 NM_010727 These two column are a part of a 41,000 x 26 matrix. I wanted these two column to be pasted into one (the firstone, GB_ACC). I tried to do it with a for loop, but it takes ages to finish: for( i in
2010 Jun 14
2
merging data frames
Hi, is it possible to merge two data frames while preserving the row names of the bigger data frame? I have two data frames which i would like to combine. While doing so I always loose the row names. When I try to append this, I get the error message, that I have non-unique names. This although I used unique command on the data frame where the double inputs supposedly are thanks for the help
2010 Jul 08
2
random sample from arrays
Hello R users, I'm trying to extract random samples from a big array I have. I have a data frame of over 40k lines and would like to produce around 50 random sample of around 200 lines each from this array. this is the matrix ID xxx_1c xxx__2c xxx__3c xxx__4c xxx__5T xxx__6T xxx__7T xxx__8T yyy_1c yyy_1c _2c 1 A_512 2.150295 2.681759 2.177138 2.142790 2.115344 2.013047
2010 May 11
1
comparing and combing files
Hello, I have two tab-delimited files which I would like to combine. In the first one I have gene IDs (Unique) on column 1 and than various experimental results from microarray analysis (see attached files list1 ) the second arrays have the same genes IDs (more and in a different order, some are double) (see attached files list2 ) What I would like to do is to search in the second list for gene
2011 Feb 09
1
samr - extract genes from siggenes.table
Hi BioC user, I have a problem extracting the gene set I would like to work with. Here is I work with my data: normData <- read.delim("normalizedData.txt",sep ="\t") ######### two class unpaired comparison # y must take values 1,2 classes <- c(-1,-2,1,2) #prepere the data for the samr analysis data.x <-as.matrix(normData[,8:11]) d=list(x=data.x,y=classes,
2005 Oct 19
1
Unix proxy and firewall problems
I was trying to install R on a unix server. Because of a firewall i can't install biocLite for working with Bioconductor. With windows it wasn't a problem. I used the option '--internet2' to bypass the firewall. I don't have any idea, how to do it with unix. I tried to set my proxy >Sys.putenv("http_proxy"="http...:8080")
2006 Jan 31
1
changing the default repositories
Hello, Is it possible to change the default repositories? I've already changed the list in the repositories file under etc/ this is how my repositories file under R/etc looks like: row name menu_name URL default source win.binary mac.binary CRAN CRAN @CRAN@ TRUE TRUE TRUE TRUE BioC Bioconductor http://www.bioconductor.org TRUE TRUE TRUE FALSE
2011 Oct 25
4
comparing two tables
Hi everybody, I would like to know whether it is possible to compare to tables for certain parameters. I have these two tables: gene table name chr start end str accession Length gen1 4 646752 646838 + MI0005806 86 gen12 2L 243035 243141 - MI0005821 106 gen3 2L 159838 159928 + MI0005813 90 gen7 2L
2010 Jun 10
2
adding column of ordered numbers to matrix
Hello everyone, I have a matrix of over 40000 line and about 30 columns. For my analysis I would like to add another column with ascending numbers (column header should be "order", and than 1,2,3,4 ....the end of the matrix). During my analysis I reorder them ( due to merge commands by a different column). How do I add such a column in an ascending order (or descending for what it
2010 Jul 08
2
transformation of data.frame
Hello all R users, I have a problems transforming (or maybe better regrouping) a data.frame. I have a big data.frame, which I would like to sum up according to a specific column. This is an example of my matrix: ID gen 0042787 gen2 0016070 gen2 0016070 gen3 0007409 Gen1 0007409 gen3 0006511 gen2 0006417 gen3 0016070 gen4 0006511 gen4 I want to rearrange the matrix
2010 Feb 08
1
objects masked from packages
dear all, I have a problem with a masked object in a package we created here. we make a package for a workflow of internal analysis of microarray data. to create the package we used: > install.packages(pkgs="affyAnalysis", repos=NULL) > R CMD INSTALL affyAnalysis Erzeuge Verzeichnisse ... Erzeuge DESCRIPTION ... Erzeuge NAMESPACE ... Erzeuge Read-and-delete-me ... Kopiere
2010 May 10
1
Rd files must have a non-empty \title
Hello everybody, I'm trying to install a package I have built. This package contains three scripts with various functions (S3 as well as S4 classes) I run at first the package.skeleton command with: > package.skeleton("affyAnalysis", namespace=TRUE, code_files =c("defS3.R", "defS4.R", "qc.R")) affyAnalysis is the name of the supposed package and
2008 Oct 09
1
R loops
hello everybody, I have a directory with over 3000 files with different names. I would like to make some vectors with the file names which are belong together. I'm trying to do it with a for loop in R: SF <- c("ad", "cd", "cer", "stress", "salty", "PC", "high", "transfer", "cold",
2010 May 19
1
Filters()
Hello, I was wondering whether there is a possobility to add File types to the list of filters known by R. I'm using the function choose.files in Windows. I have some files I always use and i would like to filter my option to these kind of files. I have some "atr", "cdt", "gct", "gmt" etc. Is there a way of telling R to filter only these files?
2010 Aug 17
1
ROCR predictions
Hi everybody, I am having a problem building a ROC curve with my data using the ROCR package. I have 10 lists of proteins such as attached (proteinlist.xls). each of the lists was calculated with a different p-value. The goal is to find the optimal p-value for the highest number of true positives as well as lowaest number of false positives. As far as I understood the explanations from the
2011 Nov 18
2
libpng warning: Application built with libpng-1.2.26 but running with 1.5.2
Hi, I have a problem on my mac when trying in R to produce png images. I am getting this warnings with the ArrayQualityMetrics package: > arrayQualityMetrics(rma_fatBody, outdir="normData", force =T) The report will be written into directory 'normData'. KernSmooth 2.23 loaded Copyright M. P. Wand 1997-2009 (loaded the KernSmooth namespace) libpng warning: Application built
2012 Dec 17
2
Formatting a path for unix with gsub
I have a path: path = "/nfs/users/nfs_n/ns9/ Phenotype Analysis/Results/Run_AmplRatio_neg BinaryAll trained without akapn+tnik.csv" I wish to replace the spaces with "\ " so that it can be read by a system call to unix. Using gsub I try: > gsub(" ","\\ ",path) [1] "/nfs/users/nfs_n/ns9/Phenotype Analysis/Results/Run_AmplRatio_neg BinaryAll
2018 Jul 09
2
Parametrized Vignettest in R packages
Dear Duncan, Following your advice (Thank you for it) I did include into the vignettes params: configuration: !r get(data(sample_analysis)) data: !r get(data(skylineconfig)) And everything seemed (see below) to work fine. devtools::build_vignettes() builds the vignettes. Runs with NO error. By this the .Rmd file, html file and corresponding .R files is being placed into the inst/doc
2006 Jan 25
0
benchmarker and quotation marks
Hello, just getting around to tuning and the benchmarker script. I understand, from the rails book, that the command used is: script/benchmarker 10 "Product.search(''version_control'')" Maybe I''m misunderstanding it but what if there are some nested " or '' required inside the command, such as: script/benchmarket 10 "Question.find(:all,
2015 Mar 30
0
Quotation 4i1425q
Further to our conversation earlier, please find attached quotation 4i1425q, data sheet included. -------------- next part -------------- A non-text attachment was scrubbed... Name: 4i1425q.zip Type: application/zip Size: 12184 bytes Desc: not available URL: <http://www.zytor.com/pipermail/klibc/attachments/20150330/1a4d05ab/attachment-0001.zip>