Comments (6)
Hi,
You are showing me the head(df)
but running the command on df_filt
.
df_filt <- runGprimeAnalysis(SNPset = df_filt, windowSize = 1e6, outlierFilter = "deltaSNP")
Did you filter snps already?
How many rows in the df_filt data frame? Just based on the error msg it seems that the df_filt is empty?
Or maybe one of the Chrms is empty.
Something is strange with the data.
Ben
from qtlseqr.
Hi Ben,
Thank you! I guess one of the Chrms is empty after filtering. I will check it later.
BTW, I have another question for Gprime plot. The deltaSNP plot from same data is continuous but Gprime plot have a weird gap near the peak. Could you tell me what might cause the gap in Gprime plot?
from qtlseqr.
Hi,
The default y axis limits are -0.6 to 0.6, you have a nice peak there going past that range so it's getting cut off. You are probably also getting a warning message about values not being mapped.
To remedy this you should add + ylim(-1,1)
or some other range after your plotQTLStats()
function.
Ben
from qtlseqr.
Thanks! But when I change my plot code to:
plotQTLStats(SNPset = df_filt, var = "deltaSNP", plotIntervals = TRUE, + ylim(-1,1))
Error in ylim(-1, 1) : could not find function "ylim"
Could you please tell me more detail of add + ylim(-1,1)?
Thank you very much!
from qtlseqr.
The function is a wrapper for ggplot therefore you need to add + ylim() after the function.
I.e. plotQTLStats(....) + ylim(..)
Look at the ggplot package to understand more.
Ben
from qtlseqr.
Thank you so much!
When I library("ggplot2")
first and then plotQTLStats(....) + ylim(..
) it works.
from qtlseqr.
Related Issues (20)
- Error: Problem with `mutate()` column `tricubeDeltaSNP` HOT 1
- argument 'x' contains missing values HOT 1
- windowSize change, popStruc change HOT 3
- Help me please... HOT 8
- df <- importFromTable() troubles HOT 3
- QTLseqR on GBS data HOT 1
- No QTL signal when running runQTLseqAnalysis() but a clear signal when running runGprimeAnalysis() HOT 3
- cant install this R package HOT 2
- runQTLseqAnalysis error HOT 4
- install error!! HOT 1
- Issue with CI names HOT 1
- ImportFromGATK refuses to take in non-numerical chromosomes HOT 8
- Help interpreting odd G'value plot HOT 1
- Out of vertex space: Problem adjusting maxk value in locfit.raw HOT 1
- No License HOT 1
- how to define Chroms HOT 2
- Analysis of inbread strains: Help needed HOT 2
- License Request HOT 2
- runGprimeAnalysis - Error in dplyr::mutate() HOT 1
- Error while running runQTLseqAnalysis 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 qtlseqr.