similar to: merging data frames

Displaying 20 results from an estimated 20000 matches similar to: "merging data frames"

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
2012 Jan 24
1
gsub semicolon with double quotation mark
Hi, I would like to substitute a semicolon with two double quotation marks and a comma inbetween. It suppose to look like that: I have: FBpp0070086;FBpp0099643;FBpp0112915 I would like to have: "FBpp0070086","FBpp0099643","FBpp0112915" I tried with various numbers of backslashes, but noe have worked. for example: gsub(";", "\\\",\"",
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
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")
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
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 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,
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
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
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 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 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 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 10
0
Antwort: FW: R loops
it did help to create the separate vectors. The problem is, I would like to continue working with each vector on its own and make some further analysis. For that i need to allocate each vector in the filePatterns a unique name, which I just can't do. I'm not so great in R loops and the help over the net regards for loops in R is quite rare. I'm really thankful for every help.
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
2006 Jan 23
0
design matrix and coefficients
Hey, As a beginner to the limma package I tried to understand how to define a design matrix. I did both experiment examples in the "Limma user's Guide" manual. Afterwards I wanted to do it with my own data. Here I encounter a few problems. As an example I used four Control samples and 4 treated samples. 1. This is how my target files looks like: filename treated time.h
2006 Feb 16
0
factors and contrast matrix
Hi, at the moment I'm trying to understand the limma/affy Packages. I've tried every example I could find to try and understand the ways to create design and contrast matrices. I must admit though, that I can't figure it out. I did a few times the estrogen files from the book "bioinformatics and computational biology solutions using R and Bioconductor". I know it's a
2009 Nov 27
0
changing titlessymbols in plot.spm
Hi all, I'm trying my best in changing the names of my experiments in the spectral map. My experiments are from six different time points, two as control and two treated experiments. I set have for each time point a different color . Now I want to change the symbols so that I have for the treated experiments one and for the controls a different one. But I want only two different symbols
2010 Mar 19
5
Merging Matrices
I have two symmetric matrices, but of different dimensions. The entries are identified by specific labels some of which are shared by both matrices. I would like to sum the two matrices, but retain the union of the two. In other words, I want the result to be the same size as the larger of the two matrices, but with the entries that they share added together. cbind() and rbind() don't