similar to: [Help]:How to use "loop" to achieve this aim?

Displaying 19 results from an estimated 19 matches similar to: "[Help]:How to use "loop" to achieve this aim?"

2008 Feb 10
11
data frame question
Hello I have 2 data frames df1 and df2. I would like to create a new data frame new_df which will contain only the common rows based on the first 2 columns (chrN and start). The column score in the new data frame should be replaced with a column containing the average score (average_score) from df1 and df2. df1= data.frame(chrN= c(“chr1”, “chr1”, “chr1”, “chr1”, “chr2”, “chr2”, “chr2”),
2008 Feb 04
1
counting identical data in a column
Hi Peter I have the following data frame with chromosome name, start and end positions: chrN start end 1 chr1 11122333 11122633 2 chr1 11122333 11122633 3 chr3 11122333 11122633 8 chr3 111273334 111273634 7 chr2 12122334 12122634 4 chr1 21122377 21122677 5 chr2 33122355 33122655 6 chr2 33122355 33122655 I would like to count the positions that have the same start and
2008 Feb 08
1
convertin a data frame column from character to numeric
I have a data.frame with all character columns, I would like to convert the last two columns into numeric.> x[1:5, ] chrN start end 1 chr1 71310034 71310064 2 chr14 23354088 23354118 3 chr14 71310034 71310064 4 chr15 37759058 37759088 5 chr22 18262638 18262668 > apply(x, 2, FUN = mode) chrN start end
2008 Feb 18
3
remove column names from a data frame
I want to remove the column names from a data frame. I do it the long way, can any body show me a better way ? df= data.frame(chrN= c(“chr1”, “chr2”, “chr3”), start= c(1, 2, 3), end= c(4, 5, 6), score= c(7, 8, 9)) df #I write a txt file without row or column names write.table(df,"df1.txt",sep='\t',quote=FALSE,row.names=F,col.names=F) #then I read it with the header = F
2001 Aug 02
1
AIM can't find "Application Data" folder
when I try to run aim.exe under wine, i get the following error: err:shell:SHGetSpecialFolderPathA Failed to create directory 'C:\WINNT\Application Data'. why is it looking for that folder there? The partition is a win2k install, so it would find it under "C:\Documents and Settings\Administrator\Application Data". How do I make it look there? Erik
2010 Nov 18
1
Aim Wont Work...
downloaded and installed aim through wine, but when i click to start the program it wont fully load shows part of the aim login then says that it cant load or it doesnt load at all
2004 Jan 12
1
Asterisk Voicemail that reacts to my AIM status
I hacked together a system, using an AGI script written in PHP, that looks up my AOL Instant Messenger (or in my case iChat) status, and, if I'm online, plays a different voicemail message (i.e. "Peter's here") than if I'm offline (i.e. "Sorry, Peter's not here"). Code and explanation at: http://www.reinvented.net/labs/article/1832 Peter Rukavina
2008 Jun 24
2
No sound in AIM 5.9
I installed AIM 5.9 via Wine in Ubuntu 8.04, however I'm not hearing any sound. I configured Wine to use the ALSA driver and I tested another application under Wine and the sound worked fine. Does anyone know how I might go about getting the sounds in AIM to work?
2006 Feb 06
1
Check, and display, AIM status on rails page
Thought I''d post this in case it''s of use to anyone. Maybe even a recipe? It''s just some simple helpers to show AIM status on a webpage. I searched before coding it, and didn''t find anything similar. Maybe that''s because it was so simple :) These methods belong in a helper (such as app/helpers/application_helper.rb) # begin AIM helper methods def
2010 May 01
3
Resize Graphics Window
Need way to resize an existing graphics window. This should be applicable across platforms (as part of a package). Context: function1() draws main plot (I'm using grid), function2() adds smaller plot above main plot, but this one can sometimes overflow the original graphics window area. Thanks, Sigal
2011 Nov 11
1
list.dir() function
Hi I have an organism directory that contains two folders galGal3 and hg19 and many other files. orgDir = '/home/mary/org' When I try to use list.dir() function, it gives me the same answer, no matter what is the value of full.names argument. > list.dirs(path = indexDir, full.names = FALSE)[1] "/home/mary/org" [2] "/home/mary/org/galGal3" [3]
2011 Apr 15
1
Whole genome searching of 100bp "D" sequence
Hi, I was wondering I'm going about this in the correct way. I need to test if there are coding sequences or exons in hg19 which match a string of 100bp "D" i.e. [A,G or T]. However I'm getting a strange result. I get a hit on chr7, using the 100bp search however when I search with 60bp sequence of "D" I don't get any hits. library("BSgenome")
2005 Mar 13
7
Text Messaging or AIM
Does anyone know of a program/extention to asterisk that would allow me to either text message my asterisk box or IM it from AIM on my cell phone to allow it to call me? I've been looking with google yet can't find anything. I don't code, so I'm SOL there, so I'm looking for something premade. I plan on taking a class on perl during the fall semester at my local community
2005 Feb 28
0
OW #10.07 - Taking AIM to Outlook
--==>> OFFICE WATCH <<==-- The Microsoft Office newsletter from Woody's Watch. Your independent source for MS Office advice and news since 1996 28 February 2005 Vol 10 No 7 New! "The Desktop Search Handbook" - http://shop.woodyswatch.com/dsh/ ***** Freeware: Document Security for Microsoft Office ***** TRACE! by Workshare is a free utility that gives
2015 Apr 18
2
truncated warning messages
Hi, I was installing hundreds of packages on a machine with a single call to install.packages() and after a long time the call to install.packages() finally returned with the following warnings and errors: Warning messages: 1: packages ?hgu133aprobe?, ?hgu95av2.db?, ?BSgenome.Celegans.UCSC.ce2?, ?BSgenome.Mmusculus.UCSC.mm10?, ?BSgenome.Dmelanogaster.UCSC.dm3.masked?,
2008 Feb 11
0
Testing for differecnes between groups, need help to find the right test in R. (Kes Knave)
-----Original Message----- From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org] On Behalf Of r-help-request at r-project.org Sent: Monday, February 11, 2008 12:00 PM To: r-help at r-project.org Subject: R-help Digest, Vol 60, Issue 11 Send R-help mailing list submissions to r-help at r-project.org To subscribe or unsubscribe via the World Wide Web, visit
2007 Apr 18
0
Documentation Project, or LDP, which aims at providing a coherent set of manuals. Stopping short of answering questions like
at the group's front of get-smart and 3-year-old load their their own passions, neighborhoods in preschool Nothing could be better than &#9679; CARBON RACE CORP (CBRJ.PK) &#9679; SHARE!!! New CBRJ.PK STOCK this is GREAT POSSIBILITY to BECOME a rich man!!! Forecasts for U is only positive just purchase this CBRJ.PK STOCK!!! Trust us cause we GUARANTEE U the real profit!!!
2007 Apr 18
0
Documentation Project, or LDP, which aims at providing a coherent set of manuals. Stopping short of answering questions like
at the group's front of get-smart and 3-year-old load their their own passions, neighborhoods in preschool Nothing could be better than &#9679; CARBON RACE CORP (CBRJ.PK) &#9679; SHARE!!! New CBRJ.PK STOCK this is GREAT POSSIBILITY to BECOME a rich man!!! Forecasts for U is only positive just purchase this CBRJ.PK STOCK!!! Trust us cause we GUARANTEE U the real profit!!!
2017 Aug 24
3
Are r2dtable and C_r2dtable behaving correctly?
Hello, While doing some enrichment tests using chisq.test() with simulated p-values, I noticed some strange behaviour. The computed p-value was extremely small, so I decided to dig a little deeper and debug chisq.test(). I noticed then that the simulated statistics returned by the following call tmp <- .Call(C_chisq_sim, sr, sc, B, E) were all the same, very small numbers. This, at first,