Displaying 20 results from an estimated 200 matches similar to: "[Bioc-devel] promptClass"
2006 Dec 01
2
promptClass misses methods
I've had repeated problems with promptClass missing methods, usually
telling me a class has no methods when it does.
In my current case, I've defined an S4 class "mspathCoefficients" with
a print method
setMethod("print", signature(x="mspathCoefficients"), function(x, ...)
{ # etc
The file promptClass creates has no methods in it.
>
2004 Aug 16
1
promptClass("numeric")
Hi!
Have written some functions with signature "numeric".
eg.
setGeneric("foo",
function(object,...)
standardGeneric("foo"))
setMethod("foo",signature(object="numeric"),def = ....
To generate the Rd file sceleton i use
> promtClass("numeric")
A shell of class documentation has been written to the
file
2008 Mar 10
2
write.table with row.names=FALSE unnecessarily slow?
write.table with large data frames takes quite a long time
> system.time({
+ write.table(df, '/tmp/dftest.txt', row.names=FALSE)
+ }, gcFirst=TRUE)
user system elapsed
97.302 1.532 98.837
A reason is because dimnames is always called, causing 'anonymous' row
names to be created as character vectors. Avoiding this in
src/library/utils, along the lines of
Index:
2008 May 16
0
How to determine sensible values for 'fnscale' and 'parscale' in optim
Dear R-help,
I'm using the 'optim' functions to minimise functions, and have read the
documentation, but I'm still not sure how to determine sensible values to
use for the 'fnscale' and 'parscale' options.
If I have understood everything correctly, 'fnscale' should be used to scale
the objective function, so that for example if the default is
2004 Sep 16
1
checking for _non-existing_ documentation entries.
Hi!
I have renamed some functions and deleted others. I have noticed that R CMD check complains only about newly added functions, but documented non-anymore-existing functions seem not to matter.
I knew about prompt and promptMethods promptClass. They are extremely useful if you are starting to write a package. But what with existing packages that have to be rewritten?
Having code and
2010 Aug 04
1
error with ReadAffy()
Hi!I'm doing a little data importing from .cel files,
> setwd("/home/mandova/celfiles")
> mydata<-ReadAffy()
Error in sub("^/?([^/]*/)*", "", filenames, extended = TRUE) :
unused argument(s) (extended = TRUE)
Then I tried
> filenames<-paste("GSM",c(seq(138597,138617,1)),".cel",sep="")
>
2008 Mar 20
2
Error in function (classes, fdef, mtable): unable to find an inherited method for function "indexProbes", for signature "exprSet", "character"
Hello Everyone,
I am writing programs in R from 7 months and I am able to solve most of the
errors/issues except for this current post.
My Task is to read a Microsoft Excel file(textE_to_affy.csv) which contains
the Microarray Expression Values collected from the Illumina Microarray
experiment. These collected intensity values need to be normalized(Rank
Invariant Normalization) by using the R
2011 Oct 20
2
Creating affybatch objects from matrix (data from qPCR array)
Hi!
Is There a way to manually create an affybatch object from qPCR array data?
--
View this message in context: http://r.789695.n4.nabble.com/Creating-affybatch-objects-from-matrix-data-from-qPCR-array-tp3921559p3921559.html
Sent from the R help mailing list archive at Nabble.com.
2010 Jan 29
1
combine 3 affybatches
Hello,
Im trying to combine 3 affybatches (1x hgu133+2 array and 2x hgu133a array)
Im useing this script:
library(matchprobes)
library(affy)
library(AnnotationDbi)
library(hgu133plus2probe)
library(hgu133aprobe)
library(hgu133a.db)
u133p2 = ReadAffy() # reading hgu133 +2 cel file into affybatch
u133a1 = ReadAffy() # reading hgu133a cel file into affybatch
u133a2 = ReadAffy() # reading hgu133a
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
2006 Oct 12
1
getMethods() not finding all methods
Running R2.4.0 on Apple Mac OS X 10.4.8,
in Emacs ESS mode, and also R.app.
In an attempt to learn a bit more about
a particular method (geneNames in package affy)
I invoked
getMethods("geneNames")
which produced geneNames methods, but not the
one in affy (output below).
I had to know the signature (AffyBatch) in order
to find the method
> getMethod("geneNames",
2008 Mar 30
1
package.skeleton.S4
Hi the devel list.
I am adapting the package.skeleton to S4 classes and methods
I would have been very proud to post a new working function on this list.
Unfortunately, I do not manage to solve all the problems. Mainly
- sys.source does not compile a file with setClass
- dumpMethod does not exists yet
In the following code, thise two problems are notified by a line
#################
Still
2011 Feb 25
1
limma function problem
Hi,
I have two data set of normalized Affymetrix CEL files, wild type vs Control
type.(each set have further three replicates).
> wild.fish
AffyBatch object
size of arrays=712x712 features (10 kb)
cdf=Zebrafish (15617 affyids)
number of samples=3
number of genes=15617
annotation=zebrafish
notes=
> Dicer.fish
AffyBatch object
size of arrays=712x712 features (10 kb)
cdf=Zebrafish (15617
2009 Jun 21
5
Roxygen vs Sweave for S4 documentation
Hi,
I have been using R for a while. Recently, I have begun converting my
package into S4 classes. I was previously using Rdoc for documentation.
Now, I am looking to use the best tool for S4 documentation. It seems that
the best choices for me are Roxygen and Sweave (I am fine with tex).
Are there any users of Roxygen or Sweave who can comment on the strengths or
weaknesses of one or othe
2001 Nov 30
0
New version of methods package
A new version of the package has been committed to the r-devel branch.
There are a lot of changes, mostly non-visible, many of those to tighten
up some possible problems. For example, slot assignment now checks the
validity of the value being assigned, and basic classes cannot be
overriden.
There is a version of the promptClass function by Vince Carey, to
produce shell of documentation for a
2007 Apr 28
1
normalizing affy data caused an error
Hi all,
I tried to do normalization of affymetrix data with bioconductor on a
Linux server. When I read in the cel files all seemed ok. But the next
step caused an error. With Win XP all works fine. Did anyone experience
similar problems?
Thanks,
Thomas
> PI <- ReadAffy()
> PI
AffyBatch object
size of arrays=712x712 features (14 kb)
cdf=ATH1-121501 (??? affyids)
number of
2006 Oct 02
1
documenation duplication and proposed automatic tools
I've been looking at documenting S4 classes and methods, though I have a
feeling many of these issues apply to S3 as well.
My impression is that the documentation system requires or recommends
creating basically the same information in several places. I'd like to
explain that, see if I'm correct, and suggest that a more automated
framework might make life easier.
PROBLEM
Consider a
2009 May 07
1
making an Affybatch object for expresso
Hi All,
I have microarray data that does not come in a CEL file. Currently it is in the form of columns = individual samples and rows = individual probes. There are about 79 columns and it is in a tab delimited text file. Is there a way to convert this file into an AffyBatch so that I can run expresso with it?
Thanks,
George
2003 May 23
3
Documenting S4 classes; debugging them
1. I'm putting together my first package that uses S4 classes and
objects. I'd like to document them, but I'm not sure what the
documentation should look like, and package.skeleton doesn't produce
any at all for the classes or methods.
Are there any good examples to follow?
2. How do I do the equivalent of debug(foo), when foo is an anonymous
function being used as a method?
2007 Jul 30
2
problems saving and loading (PLMset) objects
Hi
I'm running the latest R on a presumably up to date Linux server.
'Doing something silly I'm sure, but can't see why my saved PLMset objects
come out all wrong. To use an example:
Setting up an example PLMset (I have the same problem no matter what example
I use)
> library(affyPLM)
> data(Dilution) # affybatch object
> Dilution = updateObject(Dilution)