similar to: List help

Displaying 14 results from an estimated 14 matches similar to: "List help"

2007 Nov 14
3
How to get row numbers of a subset of rows
Hello list, I read in a txt file using <B<-read.table(file="data.snp",header=TRUE,row.names=NULL) by specifying the row.names=NULL so that the rows are numbered. Below is an example after how the table looks like using <B[1:10,1:3] SNP Chromosome PhysicalPosition 1 SNP_A-1909444 1 7924293 2 SNP_A-2237149 1 8173763
2007 Nov 18
1
how to sort a data.frame by ascending some columns
Dear list, I have a data frame (238304 rows and 6 columns). I want the data frame sorted by two columns in ascending order. I am showing the first 5 rows of the data frame > clones.info[1:5,1:6] USER_CLONE_ID CHROMOSOME Expr1002 KB_POSITION Allele_A WELL_ID 1 SNP_A-1855402 17 41419603 41419603 C rs17572851 2 SNP_A-4249904 17 41420045 41420045 A rs17572893 3 SNP_A-2174835 18 41407760
2005 Jun 24
5
Memory limits using read.table on Windows XP Pro
Hello, When I try: geno <-read.table("2500.geno.tab",header=TRUE,sep="\t",na.strings=".",quote=" ",comment.char="",colClasses=c("factor"),nrows=2501) I get, after hour(s) of work: Error: cannot allocate vector of size 9 Kb I have: Rgui.exe --max-mem-size=3Gb and multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft
2007 Jun 07
3
How to load a big txt file
Dear list, I need to read a big txt file (around 130Mb; 23800 rows and 49 columns) for downstream clustering analysis. I first used "Tumor <- read.table("Tumor.txt",header = TRUE,sep = "\t")" but it took a long time and failed. However, it had no problem if I just put data of 3 columns. Is there any way which can load this big file? Thanks for any suggestions!
2004 Oct 15
6
length with missing values
R-help I have a martix with missing values( in which I want the sample size by column) When I : apply(matrix,2,length) I get the length of the vector regardless of missing values. I can't pass an argument to length in apply. Alternatively I could ifelse ( is.na ( matrix [, "columns in matrix " ] ) , 0 , 1) Is there any easier way? Thank you
2009 Nov 22
18
[Bug 25223] New: LVDS detected, but disabled
http://bugs.freedesktop.org/show_bug.cgi?id=25223 Summary: LVDS detected, but disabled Product: xorg Version: 7.5 Platform: Other OS/Version: All Status: NEW Severity: blocker Priority: highest Component: Driver/nouveau AssignedTo: nouveau at lists.freedesktop.org ReportedBy: martix.cz at
2011 Feb 02
2
subset in a BIG matrix
I have a matrix with a lot of values inside.. when I execute the folowing command matrix2=subset(martix, condition.....) it works... but after the previous command I execute another "subset" matrix3=subset(martix2, condition2.....) and appears the following error: (subscript) logical subscript too long How can I solve this??? I think the probles is the size of the matrix...
2014 Jan 18
7
[Bug 73770] New: nouveau doesn't setup 1920x1200 mode on HDMI properly
https://bugs.freedesktop.org/show_bug.cgi?id=73770 Priority: medium Bug ID: 73770 Assignee: nouveau at lists.freedesktop.org Summary: nouveau doesn't setup 1920x1200 mode on HDMI properly QA Contact: xorg-team at lists.x.org Severity: major Classification: Unclassified OS: All Reporter: martix.cz at
2007 Nov 21
1
How to select rows with identical index from two matrix?
Dear list, I have two martix like these, each rows with name in the matrix. I try to select rows with identical name from two matrix and calculate their correlation. Matrix1: 2-Sep 9 5.5 1 7.18 10.0 8 139.45 2-Sep 7 4.9 15 8.22 61.68 9 123.62 4-Sep 5-Sep AAMP A2M A2M . . . Matrix2: 2-Sep 4 7 1 6.8 12 8 19.4
2006 Nov 22
1
question about the "solve" function in library "Matrix"
Hi: I have some problems when I use the function "solve" function in a loop. In the following code, I have a diagonal martix "ttt" whose elements change in every iteration in a loop. I defined a "dpoMatrix"class before the loop so I do not need to define this class every time in the loop. The reason is to save some computing time. The code is below. The inverse
2011 Mar 28
2
Import variable labels to data frame columns
Hi, I'm new to R and I'm stuck trying to import some data from a .dat file I've been given. The tricky bit for me is that the data has both variable values and labels? The data looks like this, Id=1 time=2011-03-27 19:23:40 start=1.4018 end=1.4017 Id=2 time=2011-03-27 19:23:40 start=1.8046 end=1.8047 Id=1 time=2011-03-27 19:23:50 start=1.4017 end=1.4018 Id=2
2006 Oct 10
2
rarefy a matrix of counts
Hi all, I have a matrix of counts for objects (rows) by samples (columns). I aimed for about 500 counts in each sample (I have about 80 samples) and would now like to rarefy these down to 100 counts in each sample using simple random sampling without replacement. I plan on rarefying several times for each sample. I could do the tedious looping task of making a list of all objects (with its
2007 Jun 18
3
data.frame
hello, are there functions giving the columns number and the rows number of a matrix? thanks. _____________________________________________________________________________ [[alternative HTML version deleted]]
2006 Dec 13
2
persp() problem
Dear list, I have a problem on persp() x <- u1data #first coloum in attached data y <- u2data #second coloum in attached data f <- function(x,y){qgev(pnorm(rhoF*qnorm(pnorm((qnorm(y)-rho2*qnorm(x)/sqrt(1-rho2^2)))) +sqrt(1-rhoF^2)*qnorm(0.95)),-0.3935119, 0.4227890, 0.2701648)} z <- outer(x,y,f) persp(x,y,z) The R will display: "Error in persp.default(x, y,