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”

For column values-Quality control
Bansal, Vikas · Jul 8, 2011 · r-help

Dear all, I am really sorry for not giving the input file because in my mail,I did not explain my problem in a best way. I have a file that is summary.txt(I have attached it) .we can...

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

Dear all, I need your help as I was not able to find out the solution.I sent this message before but did not get any help.Please help me. The thing is- I am having a code which is...

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

I have tried that also.But it is showing this error- aggregate(file[,3:6], by = list(file[,2]), FUN = sum) Error in FUN(X[[1L]], ...) : invalid 'type' (character) of argument Thanking you, Warm Regards Vikas Bansal Msc Bioinformatics Kings...

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

Dear sir, I have one more problem.Sorry to disturb you again. I have a data frame like this- Col1 Col2 Col3 Col4 1 0 1 4 0 0 0 2 4 2 0 0 1 5 0 0 0...

Extrat rows from a dataframe based on second data frame
Bansal, Vikas · Jul 25, 2011 · r-help

Dear all, I have also attached my question in txt file because of bad column spacing. I have two data frames df Chr Pos CaseA CaseC CaseG CaseT 10 135349878 0.000000 3.428571 0.000000 20.571429 10 135349880...

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

Thanking you, Warm Regards Vikas Bansal Msc Bioinformatics Kings College London ________________________________________ From: David Winsemius [dwinsemius at comcast.net] Sent: Saturday, July 02, 2011 6:19 PM To: Bansal, Vikas Cc: r-help at r-project.org Subject: Re: [R] For...

For applying formula in rows
Bansal, Vikas · Jul 12, 2011 · r-help

Dear all, I have a problem and it is very difficult for me to get a code. I am reading a file(attached with this mail) using the code- df=read.table("summary.txt",fill=T,sep="",colClasses = "character",header...

For column values-Quality control
Bansal, Vikas · Jul 8, 2011 · r-help

So i think I am doing mistake in converting ASCII values in col V10 in my data frame (dfa.).can you please tell me that, is this the right way to convert ASCII values into decimal- dfa$V10=lapply(dfa...

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

>> Dear all, >> >> I am doing a project on variant calling using R.I am working on >> pileup file.There are 10 columns in my data frame and I want to >> count the number of A,C,G and T in...

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

Yes sir.I have already looked at merge() but as I am new to R,I was not able to understand the argument that how should i create a code for the logic i gave in previous mail . Thanking you...

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

Dear David, it is showing this error- data.frame(A = unlist(lapply( lapply( sapply(mydf[,5], strsplit, + split="a|A"), length) , "-", 1)),C = unlist(lapply( lapply( sapply((mydf[,5], strsplit, split="c|C"), Error: unexpected ',' in: "data.frame(A = unlist...

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

Dear all, I am using grep but I did not understand the problem as I am doing something wrong.Please help me. I am using this code- sf=data.frame(sapply(df[],function(x) grep('\\.&\\,', df[,9]))) the thing is...

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

Dear all, I have been working on this problem from so many hours but did not find any solution. I have a data frame with 8 columns- V1 V2 V3 V4 W1 W2 W3 W4 1 0 84 22 10...

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

Hi I sorted out a little bit- I am using this code- vi=(m1 <- merge(blaa, daf, by.x = "V2", by.y = "V2")) (m2 <- merge(daf, blaa, by.x = "V2", by.y = "V2")) results are also coming fine. but i...

Printing data frame with million rows
Bansal, Vikas · Aug 7, 2011 · r-help

Dear all, Thanks to everyone.I tried both the methods and it is working. Thanking you, Warm Regards Vikas Bansal Msc Bioinformatics Kings College London ________________________________________ From: David Winsemius [dwinsemius at comcast.net] Sent: Sunday, August 07, 2011 8:31 PM...

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

Thanks for your reply. Can I use grep with numbers also? 5961 T 17 0 9 5962 T 17 0 9 5963 A 17 0 9 5964 G 13 0 10 5965 G 13 0 9 5966 G 13 0...

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

HI THIS SEEMS LITTLE BIT CONFUSING.BUT I AM USING THIS CODING AS SUGGESTED BY YOU- df=read.table("Case2.pileup",fill=T,sep="\t",colClasses = "character") txt=df[,9] txtvec <- readLines(textConnection(txt)) vik=data.frame(A = unlist(lapply...

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

Dear David, Thanks for your reply.I tried your code it is running but as I mentioned in my mail,I am working on pileup file.So I used a command- mydf=read.table("Case2.pileup",fill=T,sep="\t...

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 = file['Pos'], FUN = sum) Error in FUN(X[[1L]], ...) : invalid...

ASCII values to Decimal
Bansal, Vikas · Jul 9, 2011 · r-help

I used this code by Jim Holtman (Thanks to him)and it is working perfectly. dfa$value <- sapply(dfa$V10, function(a) paste(as.integer(charToRaw(a)), collapse = ' ')) Thanking you, Warm Regards Vikas Bansal Msc Bioinformatics Kings College London ________________________________________ From...

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