Displaying 20 results from an estimated 900 matches similar to: "Merging data frames on two conditions"
2010 Feb 25
5
Plotting 15 million points
Hi All
I have a vector of about 15 million numbers which I would like to
plot. The goal is the see the distribution. I tired the usual steps.
1. Histogram : never gets complete my window freezes w/out log base 10
2. Density : I first calculated the kernel density and then plotted
it which worked.
It would be nice to superimpose histogram with density but as of now I
am not able to get this
2009 Sep 09
4
Joining Characters in R {issue with paste}
Hi Guys
I am want to join to strings in R. I am using paste but not getting
desirable result.
For the sake of clarity, a quick example:
> a="Bio"
> b="iology"
> paste(a,b)
[1] "Bio iology"
*There is a SPACE in the word biology which is what I dont want *
Thanks,
-Abhi
[[alternative HTML version deleted]]
2010 Jan 13
3
Operating on each row of data frame
Hi All
I have a data frame in which there are 4 columns .
Column 1 : name
Column 2-4 : values
I would like to calculate mean/Standard error of values in column 2-4 and
store them in column 5,6 respectively.
I have done the following but doesn't seem to work
mean_N_SE <-function(x)
{
name <- x[1]
vals <- c(x[2:4])
temp_mean <- mean(vals)
SE <- sqrt(var(x)/length(x))
}
2011 May 05
2
quick question : interpolating file name in pipe command
Hi Guys
I am trying to read a bunch of files in the loop but pipe function
which I use to cut few columns is somehow unable to interpolate the
file variable.
eg:
> file="check.txt"
> data <- read.table(pipe("cut -f 2,3 file"), sep="\t", col.names=c('pos','cov') )
cut: file: No such file or directory
how can I pass variable file to pipe
2012 Feb 06
2
dividing values of each column in a dataframe
Hey Guys
I want to divide(numerically) all the columns of a data frame by
different numbers. Here is what I am doing but getting a weird error.
The values in each column are not getting divided by the corresponding
value in the denominator vector instead by the alternative values. I
am sure I am messing up something.
Appreciate your help
-Abhi
head(counts)
WT_CON WT_RB MU_CON
2013 Apr 06
2
manipulating R contingency tables
Hi Guys
I am back with another thing that's puzzling me.
I am creating contingency tables but then I want to filter out certain
columns and also find if any entry in the table is 0.
Example:
gts
labels A1 B2 G3
1 21 127 120
2 23 112 0
Here I want to remove B2 column from this table and also if any entry is 0
in this case G3 second row.
Missing out on how to do
2010 Aug 19
1
modifying factors in a data frame
Hi All
I have a data frame in which on the columns is a factor with following
levels
Levels: M006 M0114 M0379 M0432 M0823 M1012 M1096 M1107 SW393 SW708
I want to change all the M006 to "1", M0114 to "2" and so on. What I am
trying is not working.
data1$sample[data1$sample =='M006'] <- "1"
Warning message:
In `[<-.factor`(`*tmp*`, data1$sample ==
2009 Sep 07
2
Writing R Scripts and passing command line arguments
Hi Guys
I am Abhishek, primarily a bioinformatician. I have recently started using
a lot of R thanks to some excellent packages available.
Lately I have felt the need to batch process few of the R scripts I have
been working with and strangely enough I am not able to find a good resource
on how to best do this. I did find few old threads on the archives but none
convinced me much. So here I am
2011 Oct 24
2
Comparing two gff/gtf files : de novo transcripts v/s reference
Hi All
I am wondering if people based on their experience could share what methods
one could use to compare two gff/gtf files. The reason why I want to do so
is that we have constructed a RNA-Seq based transcriptome and would like to
compare it with reference transcriptome we had from in-silico approaches.
Ideally we are looking to find out
1. new genes we see
2. transcripts where the
2012 Feb 20
2
Help on lattice barchart ploting
Hi friends,
I have following data and would like to plot this with barchart() availble
with lattice package.
RsID Freqs Genotype
AAA 63.636 1/1
AAA 32.727 1/2
AAA 3.636 2/2
BBB 85.965 2/2
BBB 14.035 2/1
CCC 63.158 1/1
CCC 21.053 1/2
CCC 15.789 2/2
DDD 26.786 2/2
DDD 46.429 2/1
DDD 26.786 1/1
EEE 32.759 2/2
EEE 43.103 2/1
2010 Apr 05
1
Adding a prefix to all values in a col in a data.frame
Hi All
I am looking for a way to prefix a constant value to all the rows in column
in a data frame.
Eg.
V1
2
3
4
5
I want to make it like this
V1
number2
number3
number4
number5
Thanks!
-Abhi
[[alternative HTML version deleted]]
2009 Nov 16
1
Normalization of Data
Hi All
I am looking for some resource to learn data normalization. I understand I
am talking very broad here, I need something like a primer to give me a jump
start. If you happen to know any good resource please do let me know.
Cheers,
-Abhi
[[alternative HTML version deleted]]
2012 May 31
2
[LLVMdev] DFG of machine functions
Hi,
I am trying to generate the DFG of machine functions.
Initially, I added a pass to generate the DFG of LLVM IR functions. This
was based on the mail thread -
http://lists.cs.uiuc.edu/pipermail/llvmdev/2009-September/025582.html. This
pass worked fine and I was able to generate DFG of LLVM IR functions.
Later, I ported the DFG pass code for machine functions. I ported the
InstIterator.h
2012 Jun 02
0
[LLVMdev] DFG of machine functions
I tried debugging it and the issue seems to be in the implementation of
MachineInstrIterator.h and the way it interacts with GraphWriter.h
functions. I found this by replacing the ( template <> struct
GraphTraits<MCDFGraph<MachineFunction*> >) with a similar MCDFGraph based
template of CFG similar to the one in MachineFunction.h (similarly
replacing the DOTGraphTraits with the
2009 Sep 07
0
[LLVMdev] Graphviz and LLVM-TV
Edwin,
thanks, it starts making sense
inline comments...
Török Edwin wrote:
> On 2009-09-06 19:57, Ioannis Nousias wrote:
>
>> Edwin,
>>
>> thank you for your effort, but I'm not sure I understand.
>> Are you describing a graph traversal problem? Is the data model stored
>> in a predecessor/successor fashion, which requires you to 'walk' the
2016 Mar 08
4
Need Help to Fix CVE-2008-1483, CVE-2008-5161, CVE-2015-5600 and CVE-2015-6565
Hi All,
Actually I am working with the OpenSSH version 6.2p which is vulnerable to
above mentioned vulnerabilities.
So am looking for some help how I can fix these vulnerabilities in my
version. I need to fix it in the OpenSSH code.
Regards
Abhishek
2016 Mar 08
2
Need Help to Fix CVE-2008-1483, CVE-2008-5161, CVE-2015-5600 and CVE-2015-6565
Hi Gert,
Thanks for your reply.
But we can't upgrade to 7.2 version also we don't have plan to upgrade in
near future. Can I fix these vulnerabilities in the current version?
Regards
Abhishek
On Tue, Mar 8, 2016 at 6:42 PM, Gert Doering <gert at greenie.muc.de> wrote:
> Hi,
>
> On Tue, Mar 08, 2016 at 06:14:01PM +0530, abhi dhiman wrote:
> > Actually I am working
2007 Oct 25
8
report generation in rails
Hi
is there any way of generating reports other than xls and pdf. I am
using my sql .
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To
2009 Sep 06
3
[LLVMdev] Graphviz and LLVM-TV
On 2009-09-06 19:57, Ioannis Nousias wrote:
> Edwin,
>
> thank you for your effort, but I'm not sure I understand.
> Are you describing a graph traversal problem? Is the data model stored
> in a predecessor/successor fashion, which requires you to 'walk' the
> graph in order to visit all nodes? (and what happens when you have
> disjointed DFGs?).
Sorry for the
2009 Dec 30
1
seg-fault... but on what
I got the following after running succesfully through this loop 28 million
times... the loop opens text files in a directory and inserts line by line
into a database...
*** caught segfault ***
address 0xc0000010, cause 'memory not mapped'
Traceback:
1: .getGeneric(f, where, package)
2: getGeneric("coerce", where = where)
3: as(obj, "integer")
4: