Displaying 20 results from an estimated 4000 matches similar to: "LIST HELP"
2008 Sep 17
5
inserting values for null
I have a dataframe D.F1
>dim (D.F1)
14351 9
This dataframe has values and for some 1000 rows it holds NULL values.I hace
found the missing values for about 500 and have those in another dataframe
D.F.sub.2
>dim(D.F.sub.2)
500 9
as dataframe is a subset of D.F1 the coulmn 1 in D.F.sub.2 is a subset of
D.F1.I have to insert the values in D.F1 in other fields while the coulmn 1
in both
2008 Sep 05
3
comparing two files
Hi there
I have two object on is a vector T and the other is dataframe C.
vector T has more no of rows when comapred with a dataframe Ccolumn[,2].I
want to find the the missing rows in dataframe C.That is those values that
are not matchig in dataframe C[,2]
Kindly give me suggestion on how to go about it.
Ramya
--
View this message in context:
2008 Jun 24
9
R help
Dear Sir/Madam,
I found your email address and your correspondence with R-users. I hope
you could help me with this question about the function "ur.ers" in the
package of "urca". It is an improved unit root test (Elliott et al. 1996
Econometrica). Do you know how to extract the value of the test
statistic from the output? The only thing I can get is the print-out of
all
2008 Jul 21
3
vector help
hi
I have vector test. It has 3 elements. I want to join the three into one
vector.
"Geneset=HSA04910_INSULIN_SIGNALING_PATHWAY-157- 20".
how can i do it.
> class(test)
[1] "character"
> test
[1] "Geneset=HSA04910_INSULIN_SIGNALING_PATHWAY" "157"
[3] "20"
Ramya
--
2008 Aug 05
4
PDF append help
hi there,
Is there any function to append the pdf file.
I want to write in a pdf file some 100 plots(in one single pdf containing
100 plots) while all the plot are created using a for loop.
I can create 100 pdf one for each for each plot using a for loop but i want
only one pdf with 100 plots.
Ramya
--
View this message in context:
2008 Jul 28
2
writing the plots
hi there,
I want to write the plots in the pdfs and the details about the graph in a
seperate notepad.
plot(as.numeric(lapply(resultgenes,length)),
main= "Geneset.gene#.bias.test",xlab="Top.Ranked.Genesets",
ylab="gene.number.per.geneset")
lines(loess.smooth(c(1:1000),as.numeric(lapply(resultgenes,length)), span =
2/3, degree = 1,
family =
2008 Jul 11
3
List help
hi,
I need to remove the list that does not have any values.Do suggest me the
way to do it.
result<- list()
> head(result)
[[1]]
[,1] [,2] [,3]
[[2]]
[,1] [,2] [,3]
[[3]]
[,1] [,2] [,3]
[[4]]
[,1] [,2] [,3]
[[5]]
[,1] [,2] [,3]
[1,] "HIGD1C" "SNP_A-2058537" "4"
[2,] "HIGD1C" "SNP_A-1955347"
2008 Sep 17
3
selecting dataframe values that are not nulls
Hi,
I have a dataframe with 14319rows and 9 colums. for some rows there are null
values.I want a dataframe without these null values.I wanna select only
those that have values !=NA.
kindly let me know how to do that.
Ramya
--
View this message in context: http://www.nabble.com/selecting-dataframe-values-that-are-not-nulls-tp19537093p19537093.html
Sent from the R help mailing list archive at
2008 Nov 21
3
list of list objects
hi there,
I have a list of list objects i need to remove the top layer
[[1]]
[1].0
"ABC" "DEF""LMN"
[1].1
"WER" "ERT" "TRY"
[[2]]
[2].0
"ASD","wer""qwe"
[2].1
"wdv""ghj""ggj"
I wanna avoid the top layer...that is [[1]] [[2]] shouldnt be there
just a simple list is wat i need.
2008 Sep 10
2
comparing a list and vector and returnig the listname
hi,
I have list of length 5453 and vector of length 14318.I need to compare the
vector with the list and return the list name if matched.I am thinking of
using an lapply but how to retrive the listname is wat i am puzzled abt.
kindly let me know how to go abt it.
Ramya
--
View this message in context:
2008 Nov 05
3
Sort help
Geneset_name #Chromosome #Hit_in_Biomart
original_geneset_len Missing.genes
[1,] "AGUIRRE_PANCREAS_CHR12" "1" "51"
"59" "8"
[3,] "AGUIRRE_PANCREAS_CHR9" "1" "24"
"24"
2008 Nov 05
3
Dataframe help
Hi there,
I have a dataframe length.unique.info
> length.unique.info
abc 12 345
def 16 550
lmn 6 600
I want those names that fall under the condition (length.unique.info[,2][i]
<=5 && length.unique.info[,3][i] >=500)
abcder<-length.unique.info[which(length.unique.info[,2][i] <=5 &&
length.unique.info[,3][i] >= 500),1]
will "&&" look for
2008 Jun 24
1
R help on for loop
hi,
I have a data stored in table format. The data is stored in the name map.
500545 rows and 3 columns.
I want to use a for loop to scan through till the end of the row.
can i use like this.
for ( i in 1:row(map)
{
}
Kindly clarify me
Cheers
Ramya
--
View this message in context: http://www.nabble.com/R-help-on-for-loop-tp18098661p18098661.html
Sent from the R help mailing list archive
2008 Jul 02
1
help on list comparison
hi
I want to compare two list by its names and get the values of that list.
can anybody let me know the syntax of comparing the list by their names
using a for loop
c.genes<- list()
for(i in 1:100)
c.genes[[1]]<- geneset(which(geneset == tobecampared[i]))
}
here geneset is a list and also tobecampared is a list
Thank you
Ramya
--
View this message in context:
2008 Nov 25
2
dataframe
hi there
I have a dataframe
abc 123 345
abc 345 456
lmn 567 345
hkl 568 535
lmn 096 456
lmn 768 094
i want the uniques of column 1 and there corresponsing column 2 and 3
output
abc 123 345
lmn 567 345
hkl 568 535
cbind(DF1[,1],DF1[which(unique(DF1[,1]),c(2,3)])
but didnt work
kindly let me know how to go abt it
ramya
--
View this message in context:
2008 Aug 01
2
boxplot help
hi
I have list of matrix of lenggth 61 containg the mean values..I want to make
a boxplot for each of the matrix.
I used a for loop but i cant figure out the way to save in the boxplots
> all.the.mean
[[1]]
mean
0.5
o.6
0.8
[[2]]
0.6
0.6
0.9
now i want the boxplot for each of the matrix in a seperate window.my code
for(i in 1:length(all.the.mean)
{
windows()
boxplot(all.the.mean[[i]]
}
this
2009 Nov 23
1
List Name help
Hi There,
I have a named List object.I want to access all the list elements that has
the same name
for example
The List
test <- list()
$d2
v1 v2 v3 v4
1 2 3 4 5
$d2
v1 v2 v3 v4
1 2 3 4 5
$d3
v1 v2 v3 v4
8 9 19 10
$d1
v1 v2 v3 v4
12 14 15 16
so if i say test[["d2"]] or test["d2"] i should get the first two that
matches the name rite but i am not getting them jus getting
2008 Nov 07
2
Re gular Expression help
hi there
I have a vector with a set of data.I just wanna seperate them based on the
first p and q values metioned within the data.
[1] chr10p15.3 /// chr3q29 /// chr4q35 /// chr9q34.3
[2] chr1q22-q24
[3] chr1q22-q24
[4] chr1pter-q24
[5] chr1pter-q24
2011 Jan 31
5
Finding a Diff within a Dataframe columns
Hi,
I have a Dataframe.
A B C D
0.1 0.7 0.9 0.8
0.20 0.60 0.80 0.70
0.40 0.80 0.70 0.76
I need a resultant dataframe
(A-B) (C-D)
-0.6 0.1
-0.40 0.1
-0.40 -0.06
Any suggestion would be of a great help
Thanks
Ramya
--
View this message in context: http://r.789695.n4.nabble.com/Finding-a-Diff-within-a-Dataframe-columns-tp3247943p3247943.html
Sent from
2008 Jun 27
3
For loop
Hi,
Could you please let me know to use a list in a for loop here geneset is a
loop.I am trying to match the names of the list with 1st row of the output.
result<- list()
for(i in 1:length(output)
{
result[[i]] <- geneset(which(geneset %n% output[,1]))
}
Kindly help me out
--
View this message in context: http://www.nabble.com/For-loop-tp18163665p18163665.html
Sent from the R