search for: cell2

Displaying 11 results from an estimated 11 matches for "cell2".

Did you mean: cell
2010 Mar 26
1
a vectorized solution to some simple dataframe math?
.... I am trying to calculate the difference of each measurement from the mean of a given cell in a given condition without relying on loops. >my.df id cond time 1 cell1 A 343.5 2 cell1 A 355.2 ... 768 cell1 B 454.0 ... 2106 cell2 A 433.9 ... as a first approach I tried: > mews<-aggregate(my.df$time, list(cond=data$id, id=data$cond), mean) id cond time cell1 A 352 cell1 B 446 cell2 A 244 cell2 B ... I then tried to use %in% to match id and cond of mews...
2012 Mar 13
2
sort list
Hello can anyone help please? i read two words "cell1", "cell2" into a list. I want to turn this list into a factor. > cell_data <-list(c('cell1','cell2')) > cell_data [[1]] [1] "cell1" "cell2" > factor_list <- factor(cell_data) Error in sort.list(y) : 'x' must be atomic for 'sort.list...
2006 Feb 16
2
Postgresql array converts to string????
Hi We are using postgresql with rails, we find out that when we read array from postresql (postgresql support array type in table) the rails (or postgresql_adapter) converts the arrays into Strings, example: we have a data type array in a table which has two cells: [cell1,cell2], rails will convert them into string like this {cell1,cell2}. So after received the result from a SQL request we have convert the string back to array, it is very time consuming job. Does anyone know how to keey the arrays???? we are using ruby1.8.4 and rails 1.0 postgres adapter version 0.7.1...
2008 Oct 14
1
A question about Heatmap for data with just 2 columns
Hi, I have a question about heatmap. I have a data with row as microRNA and two columns are two cell expression values for these microRNA. So, like: cell1 cell2 miRNA1 1.5 3.4 miRNA2 1.3 2.4 ................... miRNA50 5 2.1 miRNA51 7.3 0.5 I want to see some miRNA are high in cell1 and low in cell2 but others are low in cell1 and high in cell2. I use heatmap.2(dataset, col=redgreen(50), scale="row"). But I can only...
2003 Oct 15
2
Example of cell means model
...Density Variety 1 2 3 4 1 9.200000 12.433333 12.900000 10.800000 2 8.933333 12.633333 14.500000 12.766667 3 16.300000 18.100000 19.933333 18.166667 > coef(fm1 <- lm(Yield ~ cell - 1, xmp11.07)) cell1/1 cell1/2 cell1/3 cell1/4 cell2/1 cell2/2 cell2/3 cell2/4 9.200000 12.433333 12.900000 10.800000 8.933333 12.633333 14.500000 12.766667 cell3/1 cell3/2 cell3/3 cell3/4 16.300000 18.100000 19.933333 18.166667 The residual sum of squares for this model is the same as that for the model with crossed terms >...
2010 Mar 23
0
rdcomclient issue - member not found when using borders
...;Formula"]] <- "Total" B3R<-sh$Range(paste(letters[grep(substring(Cell,1,1),letters)+1], as.integer(substring(Cell,2))+1+nrow(Data),sep="")) Cell1<-paste(letters[grep(substring(Cell,1,1),letters)], as.integer(substring(Cell,2))+1,sep="") Cell2<-paste(letters[grep(substring(Cell,1,1),letters)+1], as.integer(substring(Cell,2))+nrow(Data),sep="") MyCell=paste(Cell1,":",Cell2,sep="") B3R[["Formula"]] <- paste("=sum(",MyCell,")",sep="") print(MyCell)...
2012 Mar 14
1
list factoring
...Guys, this is actually a thread of emails, but for some reason, even though i am a member, it's withholding my email so i said i would try it this route instead!... I appreciate the reading Thank you. If i have: matrix: > var1 var2 var3 > cell1 x x x > cell2 x x x > cell3 x x x > > cell4 > > . > . > . > . > cell100 and: vector1 <- c("cell1, "cell5",cell19", "cell50", "cell70") your_data$mycells <- factor(your_data$cells %in% vector1, c("Sp...
2009 Jan 22
1
reshape() problems
...1942 1 2.7 3.2 1.5 2.6 1940 2 1.4 2.1 2.6 2.4 1941 2 2.4 1.4 1.4 3.4 1942 2 1.4 2.4 2.5 4.4 where the Qs mean 'quarter'. I want to extract from this a dataframe with a timeseries for each cell: year quarter cell1 cell2 1940 1 1.2 1.4 1940 2 1.4 2.1 1940 3 1.4 2.6 1940 4 1.9 2.4 1941 1 2.9 2.4 1941 2 2.1 1.4 1941 3 3.4 1.4 1942 4 2.4 3.4 1942 1 2.7 1.4 1942 2...
2012 Nov 20
2
[PATCH][RFC] OpenUPS driver
...----------------------------------- */ +/* Vendor-specific usage table */ +/* --------------------------------------------------------------- */ + +/* OPENUPS usage table */ +static usage_lkp_t openups_usage_lkp[] = { + {"Cell1", 0x00000001}, /* Battery cell 1 on J6 pin 1 */ + {"Cell2", 0x00000002}, /* Battery cell 2 on J6 pin 2 */ + {"Cell3", 0x00000003}, /* Battery cell 3 on J6 pin 3 */ + {"Cell4", 0x00000004}, /* Battery cell 4 on J6 pin 4 */ + {"Cell5", 0x00000005}, /* Battery cell 5 on J6 pin 5 */ + {"Cell6", 0x00000006}, /* Batt...
2006 Sep 05
0
rake craziness with Migrate as a dependency
...= == MobileToThreeCell: migrating =============================================== -- remove_column(:users, "mobile") -> 0.2100s -- add_column(:users, "cell1", :string, {:default=>"", :limit=>3, :null=>false}) -> 0.2100s -- add_column(:users, "cell2", :string, {:default=>"", :limit=>3, :null=>false}) -> 0.2210s -- add_column(:users, "cell3", :string, {:default=>"", :limit=>4, :null=>false}) -> 0.2200s == MobileToThreeCell: migrated (0.8610s) ======================================...
2010 Mar 24
0
R-help ordinal regression
...? ? > B3R<-sh$Range(paste(letters[grep(substring(Cell,1,1),letters)+1], > as.integer(substring(Cell,2))+1+nrow(Data),sep="")) > > ? ? > Cell1<-paste(letters[grep(substring(Cell,1,1),letters)], > as.integer(substring(Cell,2))+1,sep="") > > ? ? > Cell2<-paste(letters[grep(substring(Cell,1,1),letters)+1], > as.integer(substring(Cell,2))+nrow(Data),sep="") > > ? ? MyCell=paste(Cell1,":",Cell2,sep="") > > ? ? B3R[["Formula"]] <- > paste("=sum(",MyCell,")",sep=&quot...