farrellja / URD

URD - Reconstruction of Branching Developmental Trajectories
GNU General Public License v3.0
117 stars 41 forks source link

Plotting my markers genes in URD object #17

Closed fereshtehizadi closed 5 years ago

fereshtehizadi commented 5 years ago

Hi,

I am trying to plot my own marker genes in URD after graph clustering but I always face this error

Error in intI(i, n = d[1], dn[[1]], give.dn = FALSE) : 
  invalid character indexing
> names(pr.markers) <- clusters
> 
> I30.n <- length(unique(axial@group.ids$`Infomap-30`))
> 
> I30.cluster.assignments <- data.frame(
+     cluster=1:I30.n,
+     name=rep(NA, I30.n),
+     tip=rep(NA, I30.n),
+     row.names=1:I30.n
+ )
> View(I30.cluster.assignments)
> plotDot(axial), genes = "DDB_G0280225", clustering="Infomap-30")

Could you please help me in solving this error

fereshtehizadi commented 5 years ago

The problem was that my genes was not among the marker genes.