Re: [R] python-like dictionary for R

2010-12-30 Thread Paul Rigor
Thanks gang, I'll work with named vectors and concatenate as needed. Paul On Thu, Dec 23, 2010 at 7:39 AM, Seth Falcon wrote: > On Wed, Dec 22, 2010 at 7:05 PM, Martin Morgan wrote: > > On 12/22/2010 05:49 PM, Paul Rigor wrote: > >> Hi, > >> > >> I

[R] python-like dictionary for R

2010-12-22 Thread Paul Rigor
Hi, I was wondering if anyone has played around this this package called "rdict"? It attempts to implement a hash table in R using skip lists. Just came across it while trying to look for simpler text manipulation methods: http://userprimary.net/posts/2010/05/29/rdict-skip-list-hash-table-for-R/

Re: [R] how to pass object "members" in functions

2010-12-22 Thread Paul Rigor
ec 22, 2010 at 4:11 AM, Barry Rowlingson wrote: > On Wed, Dec 22, 2010 at 11:20 AM, Paul Rigor wrote: >> Hello, >> This is an R-syntax question when attempting to manipulate/access objects >> when passed to a function. >> >> I have a function attempting to jus

[R] how to pass object "members" in functions

2010-12-22 Thread Paul Rigor
Hello, This is an R-syntax question when attempting to manipulate/access objects when passed to a function. I have a function attempting to just print values attached to an argument object. For example, printThis <- function(obj, parm2, parm3) { print(obj.stuff1) print(obj.stuff2) } where

[R] extracting IDs from topGO results

2010-12-16 Thread Paul Rigor
Hello, So I'm working on extracting IDs from a topGO result object. I have a list of terms ranked by p values. However, does the result object contain indices to the original list of gene ids per go term? The documentation was a bit unclear. Thanks, Paul [[alternative HTML version delete

[R] extracting IDs from topGO results

2010-12-15 Thread Paul Rigor
Hello, So I'm working on extracting IDs from a topGO result object. I have a list of terms ranked by p values. However, does the result object contain indices to the original list of gene ids per go term? The documentation was a bit unclear. Thanks, Paul _

[R] extracting IDs from topGO results

2010-12-15 Thread Paul Rigor
Hello, So I'm working on extracting IDs from a topGO result object. I have a list of terms ranked by p values. However, does the result object contain indices to the original list of gene ids per go term? The documentation was a bit unclear. Thanks, Paul _

Re: [R] How to create a dissimilarity object

2010-10-18 Thread Paul Rigor (ucla)
Thank you, but what about dissimilarity matrix objects? Paul On Thu, Oct 14, 2010 at 5:30 PM, Peter Langfelder < peter.langfel...@gmail.com> wrote: > On Thu, Oct 14, 2010 at 5:21 PM, Paul Rigor (ucla) wrote: > > Hi all, > > > > I would like to use the fpc and clus

[R] How to create a dissimilarity object

2010-10-14 Thread Paul Rigor (ucla)
Hi all, I would like to use the fpc and cluster packages for clustering. However, I would like to create a custom dissimilarity object using a library in python. Has anyone attempted or know of a work-around for creating a dissimilarity object from a csv file containing pair-wise distance measure

Re: [R] Traversing a dendrogram object

2010-09-11 Thread Paul Rigor (ucla)
height? Thanks, Paul -- Paul Rigor http://www.ics.uci.edu/~prigor [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/pos

[R] Traversing a dendrogram object

2010-09-10 Thread Paul Rigor (ucla)
height? Thanks, Paul -- Paul Rigor http://www.ics.uci.edu/~prigor [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/pos

[R] Formatting data, adding column names, use reshape, a newbie question

2010-04-19 Thread Paul Rigor (ucla)
Hi all, I'm an R novice. I have data that's already formatted as "molten" that reshape should be able to work with. For example, the following was read in with read.csv(filename,sep=" ", header=FALSE) V1 V2 V3 V4 V5 1originalbookbook.source

Re: [R] order two dataframes by an integer column from either data frame

2010-02-19 Thread Paul Rigor (gmail)
Thanks, I ended up using that method! On Fri, Feb 19, 2010 at 7:53 AM, Dieter Menne wrote: > > > Paul Rigor (ucla) wrote: > > > > I have two data frames that share a common column, data1.name and > > data2.name. > > How would I be able to order the othe

[R] order two dataframes by an integer column from either data frame

2010-02-19 Thread Paul Rigor (ucla)
based on data2.salary? Thanks! Paul -- Paul Rigor Pre-doctoral BIT Fellow and Graduate Student Institute for Genomics and Bioinformatics Donald Bren School of Information and Computer Sciences University of California, Irvine http://www.ics.uci.edu/~prigor [[alternative HTML version de