Displaying 20 results from an estimated 100 matches similar to: "How can I avoid a for-loop through sapply or lapply ?"
2009 Nov 20
1
how to specify the order of panels with xyplot
> chromosomes
id refseq name length
1 0 NC_000001.9 Homo sapiens chromosome 1 247249719
2 1 NC_000002.10 Homo sapiens chromosome 2 242951149
3 2 NC_000003.10 Homo sapiens chromosome 3 199501827
4 3 NC_000004.10 Homo sapiens chromosome 4 191273063
5 4 NC_000005.8 Homo sapiens chromosome 5 180857866
6 5 NC_000006.10 Homo sapiens chromosome 6
2010 May 27
3
how to extract the 1st field from a vector of strings
I have the following vector of strings (shown only the first 3 elements)
> desc[1:3]
[1] "hsa-let-7a MIMAT0000062 Homo sapiens let-7a"
[2] "hsa-let-7a* MIMAT0004481 Homo sapiens let-7a*"
[3] "hsa-let-7a-2* MIMAT0010195 Homo sapiens let-7a-2*"
> is.vector(desc)
[1] TRUE
> A <- unlist(strsplit(desc[1:3], " "))
> A
[1]
2011 Sep 13
2
GO & Protein Complex Analysis for Homo sapiens
Dear All,
I need to fetch GO ontologies for Homo sapiens with their mappings to
corresponding Uniprot identifiers. I would be using this information to
compare result from a clustering algorithm with existing protein complexes.
This would be a test to check how the clustering algorithm accurately
captures GO terms with respect to the known protein complexes. Can anyone
suggest a simple workflow
2011 Apr 20
1
Pattern match
Hi ALL,
I have very simple question regarding pattern matching. Could anyone tell me
how to I can use R to retrieve string pattern from text file. for example
my file contain following information
SpeciesCommon=(Human);SpeciesScientific=(Homo
sapiens);ReactiveCentres=(N,C,C,C,+
H,O,C,C,C,C,O,H);BondInvolved=(C-H);EzCatDBID=(S00343);BondFormed=(O-H,O-H);Bond+
2015 Oct 13
3
RFC: Introducing an LLVM Community Code of Conduct
On 13 October 2015 at 16:41, Rafael Espíndola <llvm-dev at lists.llvm.org> wrote:
>> - *Be welcoming.* We strive to be a community that welcomes and supports
>> people of all backgrounds and identities. This includes, but is not limited
>> to members of any race, ethnicity, culture, national origin, colour,
>> immigration status, social and economic class, educational
2007 Mar 10
2
barplot, for loop?
Hi R-users,
I have a dataset like this:
kuvaaja
kuva
yhteispisteet
Hannu
isokala
8
Hannu
kaapin alta löytynyt
2
Hannu
kaapin alta löytynyt 2
8
Hannu
limamikko
1
Hannu
maukasta marmeladia
8
Hannu
skrinnareita
4
Hate
madekoukkujen suojelupyhimys
3
Hate
matka aikaan joka ei enää palaa
3
Hate
munat puoliks padassa
6
Hate
pyynikki
2
Hate
vailla armeerausta
2
2007 Mar 11
1
recoding question
Hi R-users,
I have a data frame like this:
photographer category picture points
Hannu kalat limamikko 1
Teemu kalat verkkovaja 3
Hate kalat munat puoliks padassa 6
Hannu kalat isokala 8
Teemu kasvit, sienet ja muut eliöt harppi 2
Hate kasvit, sienet ja muut eliöt pyynikki 2
Petteri kasvit, sienet ja muut eliöt harmaaleppä 5
Lauri kasvit, sienet ja muut eliöt lumipuu 9
Teemu linnut kainostelua 1
2007 Dec 22
2
[LLVMdev] Automatic assembler generation?
Hi,
Nikolaos Kavvadias wrote:
> Quoting Richard Pennington <rich at pennware.com>:
> > I've just started looking into code generation and have a newbie
> > question: Is there enough information in the .td files to make a
> > tool to automatically generate an assembler from them? Is a project
> > like that in the works?
>
> your question is reasonable,
2011 Apr 13
1
strategy for writing out file with lines header initiated with comment sign
Dear all,
I have data.frame object in R. I want to export it in tab-delimited
file with several lines of header initiated with comment sign (#). I
do not know how to do that in R. Could you please give helps on this
problem?
Thanks in advance.
Best,
Jian-Feng,
##################################################################
The lines I want to write in the header lines look like, with words
2013 Feb 23
2
Merging labels on Pie chart
Dear R Help Members,
I need to draw a pie chart for someone and there are 3 small slices in it identifying different species, all 0.7%, who’s labels overlap so you cannot read them. Is there a way to have only 1 label the three slices, so as to merge the three labels into one without merging the 3 slices? Alternatively, is there a way to extend the pointing lines, so that they could be different
2007 Oct 03
4
puppet exit codes and svn pre-commit hook
Hi everyone,
I''m using a svn pre-commit hook to check manifests for syntax errors.
I''ve recently upgraded puppet from 0.22.4 to 0.23.2 and the hook stopped
working. I use the following command to parse .pp files:
/usr/local/bin/puppet --confdir=/tmp --vardir=/tmp --parseonly --ignoreimport /tmp/$$.pp
Now, I make a decision based on the exit code. If 0 then commit, else
exit
2002 Mar 12
4
swapping rows with columns
Hello,
I've read in a data file as a frame and now I'd like the columns to be
rows and the rows to be columns. What's the easiest way to do this in R?
> class(d)
[1] "data.frame"
> rownames(d)
[1] "98x101" "40x98" "30x40" "0x30"
> colnames(d)
[1] "H..sapiens" "C..elegans"
2007 Dec 31
2
How to import ENSEMBL text data using R
Dear all,
I have a data which is in text file and i would like to import the data to R. From the manual, i?ve found the read.table command function is the most appropriate but when i wrote the command an error had occur. It say ?Error in read.table"C:/Users/user/Documents/cfa-1.txt", header = T, sep = "\t",skip=10) :more columns than column names?. Please help me with this as
2002 Mar 09
1
labels outside plotting region
Hello,
I've just started R, and I'm getting a bit mad using it. I've managed to
produce a barplot with the labels for the ytick marks placed
horizontally (perpendicular to the y-axis) usiing par(las=1). The
problem is that most of my labels are in part beyond the plotting area
because they are rather long (e.g. "H. sapiens", "D. melanogaster" ...).
What is the
2006 Sep 19
5
Recommendations for organizing hosts into groups?
I have a few different groupings of hosts, and I am wondering what is
the best way to organize the node configuration for them.
I have a few machines that are VMware hosts, a bunch of VMware
guests, and the main admin server which runs a bunch of stuff like
puppetmasterd.
I''ve got a bunch of classes/*.pp which define configuration for sudo,
yum, java, etc. Right now I just have
2002 Oct 09
7
ipchains iproute2 and port based routing
Hi all!
I try to make port based routing, because a have two connections to the
internet.
My router is a "one disk floppy router for linux". It is a big router
project www.fli4l.de. I try also to make a opt, it is like a plugin for this
router.
This project uses Kernel 2.2.19 compiled with libc5 (because it is small and
you can use one floppy disk).
At the moment, iproute2 is not
2004 Jul 08
9
Is Linux based Router feasible
Hi,
I''ve a local LAN consisting of about 150 machines. I''m using a Linux
machine as the gateway machine which inturn connects to two different
ISPs. My question is can a Linux based machine match the performance of
a hardware based routers provided by Cisco,... OR is my decision to go
for a Linux based solution is a wrong one?.
Is there so much difference between these
2006 Sep 19
4
Problem with ''package'' to yum install
Hi, I just got my local yum repo setup so that I can use puppet to
install packages... and it looks like something is not working.
<snip>
Tue Sep 19 02:13:05 PDT 2006 Puppet (notice): Starting configuration run
Tue Sep 19 02:13:10 PDT 2006 //default/java/package=jdk/ensure (err):
change from absent to latest failed: Could not update: Could not
execute ''/usr/bin/yum -y install
2009 Oct 21
0
drawing a line indicating extent of each factored data series in multipanel lattice xyplot
Hi,
Am am plotting aggregated frequency data (extracted from an RDBMS)
relating to DNA sequence features for each of the human chromosomes as
described in the table chromosomes below (the frequency data is in a
table 'hits' that has a value (or not) for each of a set of bins across
each chromosome).
I would like to mark the extent of the chromosome (according to the
length value in
2003 Oct 09
2
No NT domain controller is available problem
Hi all,
I have samba server 2.2.8a to act as a PDC on a mixed
WinXP/Win2k/WinNT
network.
I joined all my workstations to the domain with no
problem... And users
can login into the domain
and access their folders/printers, BUT!!! Every now and
then they
cannot log in getting error message
that domain controller cannot be found....
I'm trying to track the problem down :-) When I went thru