Displaying 6 results from an estimated 6 matches for "chr13".
Did you mean:
chr1
2010 May 20
5
sort a data.frame
Hello,
I have a dataframe:
dd <- data.frame(b = c("chr2", "chr1", "chr15", "chr13"),
x = c("A", "D", "A", "C"), y = c(8, 3, 9, 9),
z = c(1, 1, 1, 2))
>dd
b x y z
1 chr2 A 8 1
2 chr1 D 3 1
3 chr15 A 9 1
4 chr13 C 9 2
Now I want to sort them according column "b", but only its number is considered...
2010 Jun 07
1
average two sets of columns
Hi R experts.
how can I average two sets of columns?
dd <- data.frame(b = c("chr2", "chr1", "chrY", "chr13", "chrX"),
w=11:15, x = 1:5, y = c(8, 3, 9, 9,7),
z = c(1, 1, 1, 2, 8))
expected result for mean(w,x) and mean(y,z) is
1 chr2 6 4.5
2 chr1 7 2
3 chrY 8 5
4 chr13 9 5.5
5 chrX 10 7.5
Yu
[[alternative HTML version deleted]]
2012 Sep 15
2
qplot: plotting precipitation data
...7
3 chr11 11767950 11768676 8
4 chr11 11840900 11841851 8
5 chr11 12267450 12268076 12
6 chr11 12276675 12277051 7
> dput(mydata)
structure(list(chrom = structure(c(3L, 3L, 3L, 3L, 3L, 3L), .Label =
c("chr1",
"chr10", "chr11", "chr12", "chr13", "chr14", "chr15", "chr16",
"chr17", "chr18", "chr19", "chr2", "chr3", "chr4", "chr5", "chr6",
"chr7", "chr8", "chr9", "chrX"), class = "f...
2012 Jun 21
2
Simple Question?
...me that contains
chrom length
1 chr1 249250621
2 chr2 243199373
3 chr3 198022430
4 chr4 191154276
5 chr5 180915260
6 chr6 171115067
7 chr7 159138663
8 chrX 155270560
9 chr8 146364022
10 chr9 141213431
11 chr10 135534747
12 chr11 135006516
13 chr12 133851895
14 chr13 115169878
15 chr14 107349540
16 chr15 102531392
17 chr16 90354753
18 chr17 81195210
19 chr18 78077248
20 chr20 63025520
21 chrY 59373566
22 chr19 59128983
23 chr22 51304566
24 chr21 48129895
I want to drop the "chr" and order the chrom column in ascending order with
X...
2012 Mar 16
1
Identifying a change in events between bins
...I'm not sure if either of these questions is a simple task or incredibly time consuming and inappropriate to ask a message board. If you can offer any advice though, I would really appreciate it!
Thanks,
Mark
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Chr13.png
Type: image/png
Size: 7618 bytes
Desc: Chr13.png
URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20120316/ec3d18e3/attachment.png>
2011 Apr 15
1
Whole genome searching of 100bp "D" sequence
...sequence
query.minus <- reverseComplement(query.plus)
chrList <- c("chr1", "chr2", "chr3", "chr4", "chr5", "chr6", "chr7", "chr8",
"chr9", "chr10", "chr11", "chr12", "chr13", "chr14", "chr15", "chr16",
"chr17", "chr18", "chr19", "chr20", "chr21", "chr22", "chrX", "chrY")
#access/group the by subset of annotation
annotGr <- exons(txdb)
#annotGr <- c...