A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/stuart-lab/signac/issues/981 below:

Minor issue in CallPeaks · Issue #981 · stuart-lab/signac · GitHub

Hi,

I used CallPeaks on a Seurat object with a space in its project name and got the following output at the end:

Error in read.table(file = "/tmp/RtmprDo0xT/Colitis CD4_peaks.narrowPeak",  : 
  duplicate 'row.names' are not allowed
In addition: Warning message:
In read.table(file = "/tmp/RtmprDo0xT/Colitis CD4_peaks.narrowPeak",  :
  header and 'col.names' are of different lengths

It seems my problem stems from the call to read.table that reads in the MACS2 narrowPeak output (peaks.R, lines 350 and 362); there's no delimiter specified, so the space creates a new column. The solution is easy enough (replace the space with an underscore), but it caused a headache for a brief while and I wonder if adding sep = "\t" as an argument in the function call wouldn't avert the same problem for someone else.

Thanks!


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4