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”

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

An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20111031/0e2c7641/attachment.pl>

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

An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20111031/34abedbe/attachment.pl>

Output data frame using write.table
Bansal, Vikas · Jul 5, 2011 · r-help

Dear all, I have a data frame whose name is m1. I want to write this data frame in text file as output.I am using this code- write.table(m1, file = "kas.txt", append = FALSE,row.names=F,quote...

user input.
Bansal, Vikas · Jul 11, 2011 · r-help

Dear all, I have a dataframe and I want to introduce a new column in it.but the value i want is from user.Like there should be a message to user "enter your number" and the number user will...

Inserting column in between
Bansal, Vikas · Aug 1, 2011 · r-help

Dear all, I have a very simple question.I have data frame of 50 columns and i want to insert a column in 30th position.But i do not want to delete that column.Is it possible to include a...

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

Dear all, I have 100 files which are used as input.and I have to input the name of my files again and again.the name of the files are 1.out, 2.out......100.out. I want to know...

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

Dear all, I have a data frame which is like- V1 V2 V3 V4 9 2 ., a\ 9 2 .$, a` 13 1 , a 13 1 , a 13 1 , a 13 1 , a 13 1 , ` 13 1 , ^ 13 1 , a 13...

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

Dear all, I am using the following function so that user can input a numerical value. readnumber<- function() { for(j in 1:10){ value=readline("enter the threshold for number of reads: ") if(is.numeric(value)==T) {return(value) break...

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

Dear all, I was working on number of files and at the end I got a data frame with approx. million rows.To prin this data frame in output, I used capture.output(print.data.frame(end,row.names=F...

Removing funny characters from a column of a data frame
Bansal, Vikas · Aug 7, 2011 · r-help

Dear all, The 5th column of my data frame is like this- .$.$.$.$.$,$,$...,,,,,.,,.,,...,,,,.,,....,,,T...,,,,,,,,,,,.,,,,,....,,...,, ,..,,....,,,,,...,,,..,,......,,,,,,,....,,,.,,,,....,,...G.,,,,,,,,...,,,,,,.,, ,t.,,c,,.a.,,,.A,,,,....,,,.....,,,,..........,,,,,..,,,.,,,....,,,,,...,,,$.... .,,,,..,,,...,,,,,..,,,,,,.............$..,,,,,,...,,..,,$,...,,,,,,,....,,,,,,. ,,,,......,,,,.,,.......,.....,,,,,,.,,..,,...,,,,,.,......,.......,,....,,,,..,, ,,,,.........,,,,,.....,,,,...,,,.....,,.....,,......,....,,......,.,,..,,,,...,, H.,,,..,,.....,,,,..,,,,,,,,,^~.^~.^\".^~.^~.^~.^~,^~,^~,^~," I just want to have A,a,C,c,G,g,T,t and dot and comma in the columns. example...

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

Dear sir, I am struggling with a problem.Please help me. Now I have a dataframe with these columns- V7 V8 V9 V10 0 1 G 82 0 1 CGT c(90, 92, 96) 0 1 GA c(78, 92...

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

Dear all, I have a file and I am using a code- df=read.table("Case2.pileup",fill=T,sep="\t",colClasses = "character") to create a data frame that is df. now in 4th column I have ASCII values which...

Error non-numeric argument to binary operator
Bansal, Vikas · Jul 13, 2011 · r-help

Dear all, I have a data frame df and i am using a code shown below. df[, "total"] <- rowSums(df[, 3:6]) MAKING A NEW COLUMN total in df BY ROWSUMS defineSamples<- function() { readline("enter the number of INDIVIDUALS IN...

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

Dear all, I have a file that is summary.txt(I have attached it) .we can read this file using- dfa=read.table("summar.txt",fill=T,colClasses = "character",header=T) In V10 column I have ASCII values which I...

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

Dear all, I have a question and need your help please. I have the following code which is asking user to enter the name of their file. define<- function() { readline("enter the name of your file: ") } df=read.table(define...

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

Yes sir.you are right.after this I use this code to convert ASCII values in column V10 to decimal numbers- dfa$V10=lapply(dfa[,4], function(c) as.numeric(charToRaw(c))) now u will get output something like this...

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. The thing is- I am having a code which is reading file with this code- df=read.table("Case2.pileup",fill=T,sep="\t...

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

Dear all, I need your help as I was not able to find out the solution. The thing is- I am having a code which is reading file with this code- df=read.table("Case2.pileup",fill=T,sep="\t...

For help in R coding
Bansal, Vikas · Jul 1, 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 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...

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