User: my4

gravatar for my4
my40
Reputation:
0
Status:
New User
Location:
Last seen:
3 days, 22 hours ago
Joined:
1 year, 7 months ago
Email:
m**@sanger.ac.uk

Posts by my4

<prev • 11 results • page 1 of 2 • next >
0
votes
1
answers
97
views
1
answers
Comment: C: Combining ComplexHeatmap with other plot types
... This was exactly what I was looking for.  Thank you! ...
written 6 days ago by my40
2
votes
1
answer
97
views
1
answer
Combining ComplexHeatmap with other plot types
... I have two plots that I want to place next to each other on a grid.  If they were both ggplot2 plots I'd just do something like this: plot_grid(plot_a,plot_b,ncol=2) using the cowplot package. However, one of my plots I have created using the ComplexHeatmap package.  While the other is created wi ...
ggplot2 complexheatmap written 7 days ago by my40 • updated 7 days ago by Zuguang Gu20
0
votes
1
answers
375
views
1
answers
Comment: C: edgeR: Tagwise dispersion when using offset matrix
... Thank you Gordon.  I'll stop worrying about things I don't understand well enough to worry about. ...
written 12 months ago by my40
0
votes
1
answers
375
views
1
answers
Comment: C: edgeR: Tagwise dispersion when using offset matrix
... Thank you both for the help.  I have indeed been using y$offsets rather than offset, but as Gordon says it seems to be working fine.  At least, the co-effecients produced by the fit are consistent with what I would expect if the offsets were being applied, but I will correct the error to be on the s ...
written 12 months ago by my40
8
votes
1
answer
375
views
1
answer
edgeR: Tagwise dispersion when using offset matrix
... Hello, I am trying to use edgeR with a custom offset matrix (i.e., a different offset value in the GLM for each gene).  I'm doing something like this:         y = DGEList(counts=toc,group=groups)       design = model.matrix(~groups)       y$offsets = too #Where too is a matrix of the same dimensi ...
edger written 12 months ago by my40 • updated 12 months ago by Aaron Lun17k
0
votes
1
answers
300
views
1
answers
Comment: C: Using S4Vectors within a package
... To answer my own comment, I worked out that I needed to import the table function from BiocGenerics, not S4Vectors.  so importFrom(BiocGenerics,table).  I worked this out largely through trial and error.  The fact that this wasn't obvious to Martin is writing his answer speaks volumes about how conf ...
written 13 months ago by my40
0
votes
1
answers
300
views
1
answers
Comment: C: Using S4Vectors within a package
... Sorry for using the wrong mailing list, I'll submit to the one you suggest in future. I tried adding import(S4Vectors), but still got the same error message after installing and loading my package.  That is, mypackage::test(Rle(1:10)) Error in as.vector(x, mode) : invalid 'mode' argument I then ...
written 13 months ago by my40
0
votes
1
answer
300
views
1
answer
Using S4Vectors within a package
... I have a stupidly simple function: test = function(...) { table(...) } If I just copy and paste this code into an R session and then run test(Rle(1:10)) I get the expected result.  However, I'm trying to include this function as part of a package, after installing my package mypackage::test(Rle ...
s4vectors package written 13 months ago by my40 • updated 13 months ago by Martin Morgan ♦♦ 20k
0
votes
1
answers
241
views
1
answers
Comment: A: Efficiently construct GRanges/IRanges from Rle vector
... For a chromosome length object, when I run this     topData = Rle(sample(1:3,1e8,replace=TRUE))     microbenchmark(GRanges('toyChr',IRanges(start(toyData)-1, width=runLength(toyData), toyData = runValue(toyData)), times = 3) It takes roughly 15 seconds to convert     Unit: seconds               ...
written 13 months ago by my40
0
votes
1
answer
241
views
1
answer
Efficiently construct GRanges/IRanges from Rle vector
... I have a Run length encoded vector representing some value at every position on the genome, in order. As a toy example suppose I had just one chromosome of length 10, then I would have a vector looking like library(GenomicRanges) set.seed(1) toyData = Rle(sample(1:3,10,replace=TRUE)) I would lik ...
iranges granges rle written 13 months ago by my40

Latest awards to my4

No awards yet. Soon to come :-)

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.2.0
Traffic: 225 users visited in the last hour