Comments (1)
In IPython, tab completion is your friend. This will get you all the things BamSignal can do:
s2bulk_signal.<TAB>
However, here you're asking about taking the mean across axis 1, which implies that you expect to have an array. All a BamSignal object does is that it describes how to calculate signal from a BAM file. You want to get an array of signal, you need to specify what windows to get the signal over. If you want RNA reads over TSSes, then provide TSSes to the array()
method and then on the resulting NumPy array you can call mean(axis=1)
.
from metaseq.
Related Issues (20)
- MetaSeq on non-traditional files that have already been binned? HOT 8
- Can the browser be used to programmatically create graphs for genes of interest? HOT 2
- A problem when running the script HOT 4
- IndexError AND Value error HOT 3
- Issue with Example 1 HOT 2
- ValueError: x and y must have same first dimension
- py3: relative imports fail HOT 8
- multiprocessing HOT 3
- genomic_signal HOT 10
- How is missing data interpreted? HOT 9
- mapped_read_count() OSError: No such file or directory HOT 1
- Example1 problem #2 HOT 8
- how can I use the bam file to draw the figure which contain the tss ,gene body and tts? thank you! HOT 3
- sample snippet for the ChIP signal visualization? HOT 1
- Segmentation fault
- subplots using metaseq.plotutils.imshow
- Example1 problem#3 can't find metaseq
- use of bedGraphs in genomic_signal
- cannot import name 'data_dir' from 'helpers' HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from metaseq.