Displaying 12 results from an estimated 12 matches similar to: "Any method to speed up this problem?"
2008 Jun 24
1
Binding result of a function to a data frame
Hi,
I have the following function:
> kurtosis <-function(x) (mean((x-mean(x))^4))/(sd(x)^4) #x is a vector
and data
> print(mydata)
V1 V2 V3 V4 V5
1 1007_s_at DDR1 2865.1 2901.3 1978.3
2 1053_at RFC2 103.6 81.6 108.0
3
2010 Apr 29
1
merged files
Hi,
i have two files (file1.txt and file2.txt) which i would like to merge,
based on certain criteria, i.e.
it combines data based on matching geneID and exons.
i have used the merge option, but it does not give me the desired outcome.
merged.txt shows the result i would like.
*File1. txt*
**
AffyProbe ProbeType Flag GeneSymbol GeneID Exons Chrom Strand Affytart
AffyEnd 1
2008 Jun 23
2
Writing Vector to a File
Dear experts,
I try not to trouble the list again after this question.
I want to print this vector into a file
> myvec
[1] --Control --Control --Control --Control --Control HBA2 HBA1
[8] HBA1 --Control HBB --Control HBB HBA1 MBP
[15] --Control HBA1 HBA2 HBB PTGDS GAPDH UBC
[22] --Control GAPDH TPT1 HUWE1 PRM1 CKM
2007 Jun 06
2
Multiple color schemes for barchart (lattice)
Hello R-help.
I am trying to make a stacked barplot where the color of the sections of
each bar depend on another variable.
> myData[1:11,]
score percent marker cellType Malignant
1 0 100.00000 ESR1 (ER) Bladder.M(5) TRUE
2 0 80.00000 PAX8 Bladder.M(5) TRUE
3 1 20.00000 PAX8 Bladder.M(5) TRUE
4 0 100.00000 ESR1 (ER) Brain.N(3) FALSE
5 0
2008 Jun 16
2
Creating a Hash from Data.Frame
Hi,
I have the following data frame:
> print(mydatframe)
__DATAFRAME__
V1 V2 V3
1 1007_s_at DDR1 discoidin domain receptor tyrosine kinase 1
2 1053_at RFC2 replication factor C (activator 1) 2, 40kDa
3 117_at HSPA6 heat shock 70kDa protein 6 (HSP70B')
__END__
Is there a way to create a hash with
V2 as Key and V3 as its value?
- Gundala Viswanath
Jakarta - Indonesia
2010 Apr 29
0
merge on criteria
Hi,
i have two files (file1.txt and file2.txt) which i would like to merge,
based on certain criteria, i.e.
it combines data based on matching geneID and exons.
i have used the merge option, but it does not give me the desired outcome.
merged.txt shows the result i would like.
*File1. txt*
**
AffyProbe ProbeType Flag GeneSymbol GeneID Exons Chrom Strand Affytart
AffyEnd 1
2010 Nov 02
2
One question on heatmap
Dear R-helper:
Suppose we have a matrix:
Gene sample1 sample2
Gcnt1 12.0000 52.80000
Max 8.8000 39.10000
Tmem176b 67.9000 304.70000
Shmt2 8.6000 42.40000
Rtn4 11.5000 57.70000
Il17re 7.6000 38.80000
Bclp2 6.2000 32.10000
Mobkl3 4.4000 32.20000
Akr1b10 3.4000 30.10000
2008 Jun 16
1
Separator with " | " for read.table
Hi,
I have the following data file to be parsed and captured as a data frame:
__DATA__
#GDS_ID GENE_NAME GENE_DESCRIPTION GENE_FUNCTION
1007_s_at | DDR1 | discoidin domain receptor tyrosine kinase 1 | protein-coding
1053_at | RFC2 | replication factor C (activator 1) 2, 40kDa | protein-coding
117_at | HSPA6 | heat shock 70kDa protein 6 (HSP70B') | protein-coding
__END__
In particular it is
2007 Apr 12
3
[LLVMdev] Compiler Name
Suggestions:
Zembla - It's a fictional northern European country in "Pale Fire"
by Nabokov.
Pala - The island utopia in Aldos Huxley's "Island".
Thra - The world of The Dark Crystal.
-bw
2007 Apr 12
0
[LLVMdev] Compiler Name
Invictus - unconquerable, and Invictus.org doesn't appear to exist.
On Apr 12, 2007, at 1:34 AM, Bill Wendling wrote:
> Suggestions:
>
> Zembla - It's a fictional northern European country in "Pale Fire"
> by Nabokov.
> Pala - The island utopia in Aldos Huxley's "Island".
> Thra - The world of The Dark Crystal.
>
> -bw
>
2008 May 30
1
A question about *read.table()*
Hi list,
I have a question about using *read.table()* to read in a txt file.
Basically, it
consists of 16346 rows, 6 columns (no header). The code I used is:
exprSet <- read.table('process_all4_GSA2.txt', row.names = 1,header =FALSE)
and I got an error message:
> exprSet <- read.table('process_all4_GSA2.txt', row.names = 1,header
=FALSE)
Error in
2007 Jul 30
0
problems in limma
Dear list members,
I am analysing my microarray data using limma package. Now I encounter
several problems. Looking forward to your suggestions!
Question 1:
During the process of background correction using method="normexp", four
warning messages appeared as "NaNs produced in: log(x)" (as you can see in
the program posted below). What does that mean? How will it effect the