Moderator: Michael Lawrence

Reputation:
10,510
Status:
Trusted
Location:
United States
Last seen:
1 day, 16 hours ago
Joined:
9 years, 4 months ago
Email:
l***************@gene.com

Posts by Michael Lawrence

<prev • 1,325 results • page 1 of 133 • next >
2
votes
2
answers
40
views
2
answers
Answer: A: DataFrame after splitting and back
... In devel there is a new `recursive=TRUE` argument on `expand()` that if `FALSE` will expand columns in parallel, so you can now do: ``` expand(df2, recursive=FALSE) ``` as long as you don't care that the data are sorted by "k". ...
written 1 day ago by Michael Lawrence11k
0
votes
1
answer
48
views
1
answers
Comment: C: How to tell a GAlignmentsList singleton is mate1 or mate2
... Could use the flag utilities like `bamFlagAsBitMatrix()` and `bamFlagTest()`. ...
written 16 days ago by Michael Lawrence11k
0
votes
2
answers
80
views
2
answers
Comment: C: Aggregating scores of multiple metadata columns from one GRanges object on anoth
... I edited by answer to include the call to `bindROWS()` but I'm not sure if it will work. Please provide a fully reproducible example. ...
written 24 days ago by Michael Lawrence11k
1
vote
2
answers
80
views
2
answers
Comment: C: Aggregating scores of multiple metadata columns from one GRanges object on anoth
... mcols(x)$scores <- mat ...
written 24 days ago by Michael Lawrence11k
0
votes
2
answers
80
views
2
answers
Comment: C: Aggregating scores of multiple metadata columns from one GRanges object on anoth
... Add it as a column after construction. ...
written 24 days ago by Michael Lawrence11k
0
votes
2
answers
80
views
2
answers
Answer: A: Aggregating scores of multiple metadata columns from one GRanges object on anoth
... If you have thousands of score columns, you might find it more convenient to bind them into a matrix, stored as a single column on the GRanges. Then you could use the matrixStats package to compute the maxima across all columns. I think the code would look something like: ``` aggregate(tomap, hits, ...
written 24 days ago by Michael Lawrence11k
0
votes
1
answer
97
views
1
answers
Answer: A: RSBML wrong edges
... Cell Designer uses a different graph representation of the SBML model. The rsbml package generates a bipartite graph connecting species to reactions. The "re" identifiers refer to reactions. It sounds like Cell Designer is directly connecting reaction participants. You could collapse the rsbml graph ...
written 27 days ago by Michael Lawrence11k
4
votes
1
answer
74
views
1
answers
Answer: A: What's the recommended way to overwrite the seqinfo of a GRanges?
... This is an easy way to get the seqlevels consistent: ``` seqlevels(gr, pruning.mode="coarse") <- seqlevels(si2) ``` Note that it prunes ranges that fall into the seqlevels unique to the original object. Once you've forced consistent seqlevels, you can bring over the rest of the info: ``` seqinfo ...
written 6 weeks ago by Michael Lawrence11k
0
votes
1
answer
125
views
1
answers
Comment: C: Create protein sequences including variants from a VCF file
... Should work. Use `GenomicFeatures::extractTranscriptSeqs()` for #3. ...
written 6 weeks ago by Michael Lawrence11k
0
votes
1
answer
97
views
1
answers
Comment: C: RSBML wrong edges
... Where can I get that file? ...
written 6 weeks ago by Michael Lawrence11k

Latest awards to Michael Lawrence

Scholar 3 months ago, created an answer that has been accepted. For A: Detecting Overlaps within Grange Object
Scholar 5 months ago, created an answer that has been accepted. For A: Detecting Overlaps within Grange Object
Teacher 6 months ago, created an answer with at least 3 up-votes. For A: trying to annotate overlaps with external file information
Scholar 11 months ago, created an answer that has been accepted. For A: Detecting Overlaps within Grange Object
Teacher 11 months ago, created an answer with at least 3 up-votes. For A: trying to annotate overlaps with external file information
Teacher 11 months ago, created an answer with at least 3 up-votes. For A: setdiff for GenomicRanges
Scholar 11 months ago, created an answer that has been accepted. For A: Features within 2kb window, but with resampling
Scholar 22 months ago, created an answer that has been accepted. For A: Subset GRanges object into new object
Scholar 22 months ago, created an answer that has been accepted. For A: filtering VCF files
Scholar 22 months ago, created an answer that has been accepted. For A: Features within 2kb window, but with resampling
Scholar 22 months ago, created an answer that has been accepted. For A: Genomic Ranges findOverlaps by sample
Scholar 22 months ago, created an answer that has been accepted. For A: Can rtracklayer import tab-delimited BED files with unquoted spaces in fields?
Teacher 22 months ago, created an answer with at least 3 up-votes. For A: unlist a exons GRangeslist object and add a gene name column
Scholar 22 months ago, created an answer that has been accepted. For A: trying to annotate overlaps with external file information
Scholar 22 months ago, created an answer that has been accepted. For A: unlist a exons GRangeslist object and add a gene name column
Scholar 22 months ago, created an answer that has been accepted. For A: closest-features equivalent in Bioconductor for finding closest gene(s)
Scholar 22 months ago, created an answer that has been accepted. For A: reduce function after combining 2 GRanges objects from cn.mops output
Teacher 22 months ago, created an answer with at least 3 up-votes. For A: setdiff for GenomicRanges
Scholar 22 months ago, created an answer that has been accepted. For A: issue renaming seqnames in genomic ranges
Scholar 22 months ago, created an answer that has been accepted. For A: does import.bw with the selection argument take into account strand?
Scholar 22 months ago, created an answer that has been accepted. For A: VariantAnnotation as.vranges with asterisk in ALT field
Scholar 22 months ago, created an answer that has been accepted. For A: Group GRanges and keep metadata
Teacher 22 months ago, created an answer with at least 3 up-votes. For A: What is the proper way to modify mcols of a GRanges inside a GRangesList?
Teacher 22 months ago, created an answer with at least 3 up-votes. For A: filtering VCF files
Teacher 22 months ago, created an answer with at least 3 up-votes. For A: trying to annotate overlaps with external file information

Help
Access

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