search for: abc2

Displaying 12 results from an estimated 12 matches for "abc2".

Did you mean: abc
2007 Nov 01
1
loops & sampling
...brary(utils) #data a <- c(5.5, 2.3, 8.5, 9.1, 8.6, 5.1) b <- c(5.2, 2.2, 8.6, 9.1, 8.8, 5.7) c <- c(5.0,14.6, 8.9, 9.0, 9.1, 5.5) #join abc <- data.frame(a,b,c) #set column names names(abc)[1]<-"y" names(abc)[2]<-"x1" names(abc)[3]<-"x2" abc2 <- abc #sample abc3 <- as.data.frame(t(as.matrix(data.frame(abc2)))) n <- length(abc2) npboot.function <- function(nboot) { boot.cor <- vector(length=nboot) for(i in 1:nboot){ rdata <- sample(abc3,n,replace=T) abc4 <- as.data.frame(t(as.matrix(data.frame(rdata)))) mod...
2007 Oct 25
2
Find duplicates and save their max value
Hi, maybe someone can help me with this: I have a matrix of genes and values: GeneName Value Abc1 10 Abc2 11 Bbc1 -5 Bbc31 2 Ccd 5 Ccd -2 Ccd 7 Dda 5 Dda 10 ..... ..... Zzz3 -1 I would like to create a new matrix where the...
2005 Nov 11
0
Fwd: Re: conditional coloring of image labels
---------- Forwarded Message ---------- Subject: Re: [R] conditional coloring of image labels Date: Friday 11 November 2005 1:04 pm From: jim holtman <jholtman at gmail.com> To: Jake Michaelson <jjmichael at cc.usu.edu> Use 'mtext': genes=cbind(ABC1=c(3,4,4,5,6,3), ABC2=c(4,3,4,7,7,8), ABC3=c(8,7,8,6,3,2)) ###plot the image image(1:nrow(genes), 1:ncol(genes), genes, axes = FALSE, xlab = "", ylab = "", col=cm.colors(256)) sig=cbind(name=c("ABC1", "ABC2", "ABC3"), pvalue=c(0.005, 0.1, 0.001)) ###label the axes axis...
2008 Dec 16
1
renaming factor-labels / add factors etc.
Hi, how can I change a defined factor-variable? Like adding levels, renaming existing levels or merge several levels of a factor to one level? For example; following factor-variable is given: x <- factor(c("xyz1", "abc1", "xyz2", "abc2")) How can I add the level fgh? And how can I merge "xyz1" and "xyz2" to one level? And how can I change the name? Thanks for any help!
2005 Nov 11
1
conditional coloring of image labels
Hi all, I am interested in plotting a heatmap of a set of genes. I would like the text labels of these genes to be colored red rather than black if they meet certain statistical criteria (using an if statement). I'm not sure how to change individual color labels without changing them all. Can anyone provide some insight on how to do this? Thanks in advance, Jake
2014 Jun 16
2
Print files which would be transfered by rsync (when syncing two directories)
...ing of rsync. Assume one want to get a list of files which would have been transfered by rsync if rsync was requested to sync directories X and Y and one does <code> X=`mktemp` echo "abc" > $X/1 echo "abc1" > $X/2 Y=`mktemp` echo "abc" > $Y/1 echo "abc2" > $Y/2 </code> then I'd expect rsync to update the file $Y/2 with the content of $X/2 and `rsync --dry-run --info=COPY -r -c $X $Y` should print $Y/2 (or $X/2, this isn't part of my problem), but it prints nothing. Further non-working solutions include: * `rsync --dry-run -...
2002 Oct 18
4
code to turn T into TRUE
Does anyone have code that will methodically process R sourcecode, turning T's into TRUE and F's into FALSE? I got bored doing this by hand, after the first 30-odd functions-- there are hundreds left to do. I don't want to simply deparse everything, because that would destroy my beautiful formatting. The reason it's not trivial, is that comment lines, quotes, and split lines need
2013 May 13
0
Fwd: Seeing non-priv port + auth issue in the gluster brick log
...transport.socket.read-fail-log off option rpc-auth-allow-insecure on end-volume brick vol ---------- (snip..) volume dpkvol-server type protocol/server option rpc-auth-allow-insecure on option auth.addr./home/dpkshetty/brick.allow null option auth.login.91e851d7-2f55-4946-abc2-dd18eeba4a93.password 6c740e73-ff98-4991-b08c-1f1e9c0f9ee9 option auth.login./home/dpkshetty/brick.allow 91e851d7-2f55-4946-abc2-dd18eeba4a93 option transport-type tcp subvolumes /home/dpkshetty/brick end-volume (removing auth.login lines also doesnt have any effect) volume info --...
2006 Feb 20
2
glob2rx function not working
Dear R users, Inspired by previous list discussion of the glob2rxc function, I am attempting to create a new vector called TOTAL by summing all vectors whose names begin with ABC: TOTAL = sum(list = ls(pattern = glob2rx("ABC*"))) I'm running R 2.2.1 on Windows XP. Can anyone say what I'm missing? Thank you, Mark
2011 Aug 22
2
Extracting columns with specific string in their names
Hi, Let's say that I have a set of column names that begin with the string "Xyz". How do I extract these specific columns? I tried to do the following: dataframe1[,grep("Xyz",colnames(dataframe1))] But it does not work. What is wrong with my expression?
2007 Jan 08
2
rsync - 2.6.8 ( broken pipe )
...connect from su01e01 (172.16.1.81) 2007/01/09 02:11:37 [1084] rsync to ssr_data from su01e01 (172.16.1.81) 2007/01/09 02:11:38 [1084] recv su01e01 [172.16.1.81] ssr_data () test/30MIN/01:09:2007/ABC1 3146240 2007/01/09 02:11:38 [1084] recv su01e01 [172.16.1.81] ssr_data () test/30MIN/01:09:2007/ABC2 1180160 2007/01/09 02:11:38 [1084] rsync: connection unexpectedly closed (50265 bytes received so far) [receiver] 2007/01/09 02:11:39 [1084] rsync: connection unexpectedly closed (34103 bytes received so far) [generator] 2007/01/09 02:11:39 [1084] rsync: writefd_unbuffered failed to write 84 byt...
2007 Jul 11
2
Previously saved workspace restored
hi there, i an beginner of R. some one have sent me a file (extension is .Rdata). i have installed R in my computer and i just double clicked the data. then it automatically opened R programme and displayed that [previously saved workspace restored]. the following message was displayed. Type 'demo()' for some demos, 'help()' for on-line help, or'help.start()' for an