Skip to content

Search Archives

Search tips
from:Name Search by author name, e.g. from:Duncan Murdoch "exact phrase" Match an exact phrase word1 word2 Match messages containing both words Date range Use the date pickers to filter results to a time period

Use the list dropdown to narrow results to a specific mailing list. Combine from: with other terms to filter by author and content.

63 results for “from:Bansal, Vikas”

Adding rows based on column value
Bansal, Vikas · Jul 15, 2011 · r-help

I have tried the aggregate command but it shows this error- vars <- paste('Case', c('A', 'C', 'G', 'T'), sep = '') > vars [1] "CaseA" "CaseC" "CaseG" "CaseT" > aggregate(file[vars], by = df['Pos'], FUN = sum) Error in aggregate.data.frame(file...

Adding rows based on column value
Bansal, Vikas · Jul 14, 2011 · r-help

Thanking you, Warm Regards Vikas Bansal Msc Bioinformatics Kings College London ________________________________________ From: Bansal, Vikas Sent: Thursday, July 14, 2011 6:07 PM To: Bert Gunter Subject: RE: [R] Adding rows based on column value Yes sir.I am trying. I...

Deleting rows and store the deleted rows in new data frame
Bansal, Vikas · Jul 24, 2011 · r-help

Dear Jeff, Thanks a lot for your reply. I was just curious about this thing about grep that it can perform this kind of thing or not. Otherwise with numerical comparison I know it is very easy to do.Like...

For is.numeric condition in user input
Bansal, Vikas · Jul 25, 2011 · r-help

Thanks for your reply.I know readline will give me a character.But if I will do something like this- > readnumber<- function() > { > for(j in 1:10){ > value=readline("enter the threshold for number of reads: ") > value=as.numeric(value...

automatic file input
Bansal, Vikas · Aug 22, 2011 · r-help

Because i have to use the value of i in for loop also.example- for(i in 1:100){ df=read.table($i.out,fill=T,colClasses = "character") if(i<=50){ df$V6 <- sapply(df$V6, function(a) paste(as...

For help in R coding
Bansal, Vikas · Jul 2, 2011 · r-help

DEAR ALL, I TRIED THIS CODE AND THIS IS RUNNING PERFECTLY... df=read.table("Case2.pileup",fill=T,sep="\t",colClasses = "character") txt=df[,9] txtvec <- readLines(textConnection(txt)) dad=data.frame(A = unlist(sapply(gregexpr("A|a", txtvec), function...

For is.numeric condition in user input
Bansal, Vikas · Jul 25, 2011 · r-help

Thanks for your reply.But I have never seen ia.na in R.Can you please tell me how to use this? So you are saying rather than is.numeric,I have to test user input by ia.na? Thanking...

Adding rows based on column value
Bansal, Vikas · Jul 14, 2011 · r-help

I have checked it but did not get any results.Is there a way I can do it?I will be very thankful to you. Thanking you, Warm Regards Vikas Bansal Msc Bioinformatics Kings College London ________________________________________ From: Bert Gunter [gunter...

Adding rows based on column value
Bansal, Vikas · Jul 14, 2011 · r-help

Dear all, I have one problem and did not find any solution.(I have also attached the problem in text file because sometimes column spacing is not good in mail) I have a file(file.txt) attached with this mail...

Chi square test on data frame
Bansal, Vikas · Aug 17, 2011 · r-help

Dear Michael, Thanks a lot for your reply and for your help.I was struggling so much but your suggestion showed me a path to the solution of my problem.I have tried your code on my data frame step...

Adding rows based on column value
Bansal, Vikas · Jul 15, 2011 · r-help

Dear all, I have one problem and did not find any solution. I have attached the question in text file also because sometimes spacing is not good in mail. I have a file(file.txt) attached with this mail.I...

For help in R coding
Bansal, Vikas · Jul 3, 2011 · r-help

________________________________________ From: David Winsemius [dwinsemius at comcast.net] Sent: Sunday, July 03, 2011 7:08 PM To: Bansal, Vikas Cc: Dennis Murphy; r-help at r-project.org Subject: Re: [R] For help in R coding On Jul 3, 2011, at...

Chi square test on data frame
Bansal, Vikas · Aug 17, 2011 · r-help

Is there anyone who can help me with chi square test on data frame.I am struggling from last 2 days.I will be very thankful to you. Dear all, I have been working on this problem from so many...

For is.numeric condition in user input
Bansal, Vikas · Jul 25, 2011 · r-help

I have tried this,and it is working.But the thing is if user will input a character rather than number,in the end it is showing a warning message- Warning messages: 1: NAs introduced by coercion and this is...

Plot two matrices and keeping the record of row names
Bansal, Vikas · Oct 31, 2011 · r-help

Dear Peter, Thanks for your reply.I am familiar with this solution but I was trying to make the plot user friendly.I have seen some plots,in which if we keep a cursor on any point of plot,it...

wrong name of input file and goto like function
Bansal, Vikas · Jul 24, 2011 · r-help

Thanks for you reply.I have seen it and I got that we can use this goto function in the form of double loop. like- for(j in 1:10) { df=read.table(define(),fill=T,sep="\t",colClasses = "character...

For help in R coding
Bansal, Vikas · Jul 3, 2011 · r-help

Yes you are right. unlist operation is unnecessary and I have tried it yesterday and it is working without that operation also.But I have one more problem on which I have worked whole day but did not get any...

automatic file input
Bansal, Vikas · Aug 22, 2011 · r-help

Dear Ista I have searched about the problem and came to know that we can make a list of our file names.But the thing is I am using this code- define<- function() { repeat{ hojy=readline("Enter the name of...

User input(unknown name and number of files)
Bansal, Vikas · Jul 23, 2011 · r-help

can you please suggest me any book or paper or website which explains this problem because I have started using R before 3 weeks only and i will not be able to understand your whole code.so if i will...

User input(unknown name and number of files)
Bansal, Vikas · Jul 22, 2011 · r-help

Thanks for your reply.That is why I wrote in the message that I have sent this message before but did not get any help (first line of my message). can you please tell me that if user will input...

Can't find what you're looking for? Try searching with Google .