Displaying 20 results from an estimated 600 matches similar to: "lme and SAS Proc mixed"
2006 Jun 30
0
SAS Proc Mixed and lme
I am trying to use lme to fit a mixed effects model to get the same
results as when using the following SAS code:
proc mixed;
class refseqid probeid probeno end;
model expression=end logpgc / ddfm=satterth;
random probeno probeid / subject=refseqid type=cs;
lsmeans end / diff cl; run;
There are 3 genes (refseqid) which is the large grouping factor, with
2 probeids nested within each refseqid,
2006 Jun 19
2
Nested variance-covariance matrix in Multilevel model
Dear R community,
I have trouble implementing a nested variance-covariance matrix in the
lme function.
The model has two fixed effects called End and logpgc, the response
variable is the logarithm to base 2 of Intensity ( log2(Intensity) )
and the random effects are called Probe and ProbeNo.
The model has the following nesting structure: A Pixel is nested within
the ProbeNo,the ProbeNo is
2010 Jul 06
2
Could not find createData function
Hi,
I am using "*Maanova* package" to do anova. I have created *datafile* with
probeID as the first column, which is a tab limited text file and also
created *designfile*. I have created *readma object* which is named as abf1.
>From that readma object, i have to create data object by using
*createData*function and also i hav to create model object by using
*makemodel* function,
2012 Nov 02
1
Bioconductor, merging annotation with list of probeids
Hi all,
Im very new to R so please forgive my poor language! I've been trying to map
on my list of probeids the relative annotation but unsuccessfully. I get
this error
symbols <- mget(probes,mouse4302SYMBOL,ifnotfound=NA)
Error in .checkKeysAreWellFormed(keys) :
keys must be supplied in a character vector with no NAs
Thanks for your help!
Brawni
--
View this message in context:
2008 Mar 02
2
Variance Calculation in R
Hello,
Thanks everyone for helping me with the previous queries.
step 1: Here is the orginal data: short sample
ProbeID Sample_1_D Sample_1_C Sample_2_D Sample_2_C
1 224588_at 2.425509867 11.34031409 11.46868531 11.75741478
step 2: i calculate the variance of the sample using this R code
x<-1:20000
y<-2:141
data.matrix<-data.matrix(data[,y])#create data.matrix
2011 Jun 30
4
aggregating data
Hi,
I am interested in using the cast function in R to perform some aggregation. I did once manage to get it working, but have now forgotten how I did this. So here is my dilemma. I have several thousands of probes (about 180,000) corresponding to each gene; what I'd like to do is obtain is a frequency count of the various occurrences of each probes for each gene.
The data would look
2008 Mar 03
3
R data Export to Excel
Here is my R Code
x<-1:20000
y<-2:141
data.matrix<-data.matrix(data[,y])#create data.matrix
variableprobe<-apply(data.matrix[x,],1,var)
variableprobe #output variance across probesets
hist(variableprobe) #displaying histogram of variableprobe
write.table(cbind(data[1],
Variance=apply(data[,y],1,var)),file='c://variance.csv')
#export as a .csv file.
Output in Excel
all in 1
2008 Mar 04
1
Export csv data
Hi Everyone,
Thanks for all the help with the previous queries.
Here is what i want to do. i have 20000 probesets-->calculate all the
variance accross all the probesets-->filter out probesets that are low so
now i ended up with only 10000. The 10000 is fine but when i export to
excel, it is missing the probeID. Here are my code and examples.
#########calculate the variance across the
2011 Mar 09
2
collapse a data column into a row
I have a file with a data in columnar format like below:
probeID
rc_AI104113_at
rc_AI178259_f_at
rc_AI179134_i_at
rc_AI179134_f_at
rc_AI104113_at
rc_AA819429_f_at
How can I rewrite it in the format below:
'rc_AI104113_at', 'rc_AI178259_f_at', 'rc_AI179134_i_at',
'rc_AI179134_f_at', 'rc_AI104113_at', 'rc_AA819429_f_at'
Is there any function to do
2009 Jun 30
1
beadarray package
Dear R users,
I am using the beadarray package. I am trying to upload raw bead-level data using these commands:
########################################################
library(beadarray)
datadir <- ("C:/Computer_programs/R/beadarray/cecilia")
targets = read.table("targets.txt", sep = "\t", header = TRUE, as.is = TRUE)
BLData = readIllumina(arrayNames =NULL,
2010 Apr 26
1
Error in pf(q, df1, df2, lower.tail, log.p) : Non-numeric argument to mathematical function
inputfille
snpid indid genotype gvariable probeid gene geneexpression
rs1040480 CHB_NA18524 C/T 2 GI_19743926-I PTPRT 5.850586
rs1040480 CHB_NA18526 C/C 1 GI_19743926-I PTPRT 6.028641
rs1040480 CHB_NA18529 C/C 3 GI_19743926-I PTPRT 5.944392
rs1040481 CHB_NA18532 C/C 1 GI_19743926-I PTPRT 5.938578
rs1040481 CHB_NA18537 C/C 2 GI_19743926-I PTPRT 5.874439
rs1040481 CHB_NA18540 C/C 3 GI_19743926-I
2010 Jul 06
0
Error in createData function
Hi,
I am using "*Maanova* package" to do anova. I have created *datafile* with
probeID as the first column, which is a tab limited text file and also
created *designfile*. I have created *readma object* which is named as abf1.
>From that readma object, i have to create data object by using
*createData*function and also i hav to create model object by using
*makemodel* function,
2010 Jul 13
0
object of class madata
Hi,
Am using maanova package for doing anova.But am getting error like
this..plz, help me regarding this..
> TGR=read.madata("rmaexpr.dat",designfile="design.dat")
Reading one color array.
Otherwise change arrayType='twoColor' then read the data again
Warning messages:
1: In read.madata("rmaexpr.dat", designfile = "design.dat") :
Assume that
2007 Apr 14
6
[LLVMdev] Regalloc Refactoring
On Thu, 12 Apr 2007, Fernando Magno Quintao Pereira wrote:
>> I'm definitely interested in improving coalescing and it sounds like
>> this would fall under that work. Do you have references to papers
>> that talk about the various algorithms?
>
> Some suggestions:
>
> @InProceedings{Budimlic02,
> AUTHOR = {Zoran Budimlic and Keith D. Cooper and Timothy
2007 Oct 16
2
How to speed up multiple for loop over list of data frames
Hi there,
I have a multiple for loop over a list of data frames
for ( i in 1:(N-1) ) {
for ( j in (i+1):N ) {
for ( p in 1:M ) {
v_i[p] = alist[[p]][i,"v"]
v_j[p] = alist[[p]][j,"v"]
}
rho_s = cor(v_i, v_j, method = "spearman")
rho_p = cor(v_i, v_j, method = "pearson"
2007 Oct 23
4
Replace values on seq
Hey guys, sorry for the inconvenience (this might be a hundred times
answered question), but I have been searching a while and gave up
about the following:
I have the following, table and data:
table <- seq(255, 0, by=-1)
data <- c(1,8,...) <--- doesn't matter what's in here
Which would be the most efficient way to replace each data value, v_i,
by table[v_i + 1] ?
And, maybe
2011 Oct 03
1
minimisation problem, two setups (nonlinear with equality constraints/linear programming with mixed constraints)
Dear All,
Thank you for the replies to my first thread here: http://r.789695.n4.nabble.com/global-optimisation-with-inequality-constraints-td3799258.html. So far the best result is achieved via a penalised objective function. This was suggested by someone on this list privately. I am still looking into some of the options mentioned in the original thread, but I have been advised that there may
2005 Feb 15
1
shrinkage estimates in lme
Hello. Slope estimates in lme are shrinkage estimates which pull the
OLS slope estimates towards the population estimates, the degree of
which depends on the group sample size and the distance between the
group-based estimate and the overall population estimate. Although
these shrinkage estimates as said to be more precise with respect to the
true values, they are also biased. So there is a
2009 Oct 24
1
dev.copy(postscript,...) generates a disrupted string
Dear R-Users,
I have the following problem: I would like to create a postscript file
containing an r-plot with the string "\\vartheta" in it (reason: this
is later converted to the TeX-string "\vartheta" and a vartheta is
printed in the figure). In the minimal example below, the problem is
that the created postscript file does _not_ contain the string "\\vartheta
2007 Jun 20
1
nlme correlated random effects
I am examining the following nlme model.
asymporig<-function(x,th1,th2)th1*(1-exp(-exp(th2)*x))
mod1<-nlme(fa20~(ah*habdiv+ad*log(d)+ads*ds+ads2*ds2+at*trout)+asymporig(da.p,th1,th2),
fixed=ah+ad+ads+ads2+at+th1+th2~1,
random=th1+th2~1,
start=c(ah=.9124,ad=.9252,ads=.5,ads2=-.1,at=-1,th1=2.842,th2=-6.917),
data=pca1.grouped)
However, the two random effects (th1 and th2)