Displaying 3 results from an estimated 3 matches for "sample_1_c".
Did you mean:
sample_1_d
2008 Mar 03
3
Calculating the t-test for each row
...rder(variableprobe,decreasing=TRUE),][1:10000,]
dim(data.sub)
data_output<-write.table(data.sub, file = "c://data_output.csv", sep = ",",
col.names = NA)
When i export to excel, it shows me this. This is just a short version.
There are 1000 rows and 140 columns
Sample_1_D Sample_1_C Sample_2_D Sample_2_C
1 2.425509867 11.34031409 11.46868531 11.75741478
Here is my question: How do create a new row and calculate the t-test so
that it will give me the p-value
Here is what i am looking for. The p-value is not correct but just an
example. It needs to calculate the entire each r...
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
variableprobe<-apply(data.matrix[x,],1,var)
step 3...
2008 Mar 04
1
Export csv data
...###########
#############filter out low variance and Select 10,000
probesets##############
data.sub = data.matrix[order(variableprobe,decreasing=TRUE),][1:10000,]
dim(data.sub)
write.table(data.sub, file = "c://data_output.csv", sep = ",", col.names =
NA)
Output:
Sample_1_D Sample_1_C Sample_2_D Sample_2_C
1 2.425509867 11.34031409 11.46868531 11.75741478
what i need is this
ProbeID Sample_1_D Sample_1_C Sample_2_D
Sample_2_C
1 224588_at 2.425509867 11.34031409 11.46868531
11.75741478
This is just the short ve...