Questions tagged [manhattan]

21 questions
0
votes
1 answer

Create a manhattan plot in r

This is my code thus far, but it keeps saying "...' used in an incorrect context? Any suggestions? library(qqman) manhattan( pvalues_file, chr = "CHR", bp = "BP", p = "P", snp = "SNP", col = c("gray10", "gray60"), chrlabs = NULL, suggestiveline =…
nick1
  • 1
  • 1
0
votes
0 answers

Manhattan distance with impassible tiles - python

I have a 2D map (represented as list of lists) in python. Each cell has a boolean value: if the value is True the user can walk through the tile, and if the value is False the user can't walk through it. Is there a function that can help me find the…
Daniel
  • 229
  • 1
  • 8
0
votes
1 answer

Calculate Manhattan distance for n_puzzle problem?

I'm trying to calculate for each tile in a n_puzzle problem where the tile is misplaced, find the number of moves required to reach the correct location. E.g. 3x3 grid, if tile 1 was in the top left (0,0) where it should be bottom right (2,2), it…
user13413898
0
votes
1 answer

Reduce white space on Manhattanplot (Package: qqman in R) between axis label and axis

i have ploted the Manhattan plot below via the package qqman in R. Unfortunatly, there is a huge white space between axis ticks and axis labels and also between axis labels and axis labs. Could someone offer any tip to reduce the white space? This…
Domi
  • 15
  • 2
0
votes
1 answer

how does a best first search decide on equal distance nodes?

am working on this assignment but am confused on which node will the best first search move next. using Manhattan distance, I found that all the nodes which are directly connected to the starting node have the same distance. my question is that…
0
votes
0 answers

Manhattan plot not labelling all data points

I have this data below called test. I am trying to plot this data using manhattan function in qqman library, but if you notice in the plot, it is not labelling all point below Pvalue < -log10(1e-08). What am I missing here? library(qqman) …
Yamuna_dhungana
  • 653
  • 4
  • 10
1
2