Displaying 5 results from an estimated 5 matches for "wollenberg".
2005 Dec 07
4
Maintaining factors when copying from one data frame to another
...just A,
C, and D. When I copy these columns to a new data frame
>newDF <- data.frame(cbind(oldDF$A, oldDF$C, oldDF$D))
all the factor data comes out as levels rather than the original
factors. How do I preserve the factors when I copy from one data frame
to another?
Thanks vary much,
Kurt Wollenberg, Ph.D.
Tufts Center for Vision Research
Tufts-New England Medical Center
750 Washington St #450
Boston, MA 02111
Office: 617-636-9028
Fax: 617-636-8945
email: kurt.wollenberg at gmail dot com
2005 Jan 06
1
Calculating a table of symbol frequencies
...ign1.F[names(summary(align1[[i]])),i] <-
(summary(align1[[i]])/length(align1[[i]]))
Is there a more efficient (i.e., without a loop) way to do this? Is there
some way to use table or ftable to create an 22 x 236 table of amino acid
frequencies from align1 and AA in one fell swoop?
Thanks,
Kurt Wollenberg, PhD
Tufts Center for Vision Research
New England Medical Center
750 Washington St, Box 450
Boston, MA, USA
kwollenberg at tufts-nemc.org
617-636-8945 (Fax)
617-636-9028 (Lab)
The most exciting phrase to hear in science, the one that heralds new
discoveries, is not "Eureka!" (I found...
2005 Mar 01
1
Two problems building a package
...s section, even though
they contain all other recent changes. My detail section looks like this:
\details{blah blah blah
\deqn{blah = Blah}{%
blah = Blah}
where \eqn{blah}{%blah} = frequency of \emph{b} in Blah.
Blah blah blah.
}
Any help would be greatly appreciated.
Cheers,
Kurt Wollenberg, PhD
Tufts Center for Vision Research
New England Medical Center
750 Washington St, Box 450
Boston, MA, USA
kwollenberg at tufts-nemc.org
617-636-8945 (Fax)
617-636-9028 (Lab)
The most exciting phrase to hear in science, the one that heralds new
discoveries, is not "Eureka!" (I found...
2005 Jan 03
1
Calculating symbol (letter) frequencies
...on and using
summary(alignment[[i]]) or do I need a separate data frame? If I should be
using a separate data frame for symbol frequencies how do I extract these
from the data? Should I try to extract this from summary or is there a more
efficient way to calculate symbol frequencies?
Thanks,
Kurt Wollenberg, PhD
Tufts Center for Vision Research
New England Medical Center
750 Washington St, Box 450
Boston, MA, USA
kwollenberg at tufts-nemc.org
617-636-8945 (Fax)
617-636-9028 (Lab)
The most exciting phrase to hear in science, the one that heralds new
discoveries, is not "Eureka!" (I found...
2004 Nov 09
0
Vector multiplication wrap-around
...MASS I've figured out how to do the
multiplication efficiently (without loops) but I can't seem to solve the
wrapping problem. Is there an efficient method for making vector
multiplication wrap around the end of the matrix? I'm using R-2.0.0 running
on Windows XP Pro 2002.
Cheers,
Kurt Wollenberg, PhD
Tufts Center for Vision Research
New England Medical Center
750 Washington St, Box 450
Boston, MA, USA
kwollenberg at tufts-nemc.org
617-636-8945 (Fax)
617-636-9028 (Lab)
The most exciting phrase to hear in science, the one that heralds new
discoveries, is not "Eureka!" (I found...