Displaying 5 results from an estimated 5 matches for "snp_a".
2008 Jul 11
3
List help
...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" "4"
[3,] "HIGD1C" "SNP_A-1947169" "3"
[4,] "HIGD1C" "SNP_A-2088027" "1"
[5,] "HIGD1C" "SNP_A-2070418" "1"
[6,]...
2007 Nov 14
3
How to get row numbers of a subset of rows
...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
3 SNP_A-4303947 1 8191853
4 SNP_A-2236359 1 8323433
5 SNP_A-2205441 1 8393263
6 SNP_A-1909445 1 7924293
7 SNP_A-2237146 2...
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 41407760 C rs17651213
4 SNP_A-1880271 18 41173993 41173993 A rs17563827
5 SNP_A-2313232 17 41169023 41169023 C rs17563787
Especially, I want the data frame sorted by column CHROM...
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!