Skip to content

Error in Plotting plant data #24

Description

@TinaNeik339

Hi,

I prepared the 3 input files as per the examples given: Example.assoc.linear, Example.ld and Unique.genes and ran the code but there is an error which I can't fix:

locus.zoom(data = Example.assoc.linear, region = c(3, 10000000, 12200000), offset_bp = 0, ld.file = Example.ld, genes.data = Unique.genes, plot.title = "Association", file.name = "alternateExample.jpg", rsid.check = FALSE, nonhuman = TRUE)
Error in text.default(x = mid.point, y = text_data$Y[i], labels = text_data$Gene[i], :
zero-length 'labels' specified
Called from: text.default(x = mid.point, y = text_data$Y[i], labels = text_data$Gene[i],
font = 3, cex = fontsize, pos = 3, offset = 0.2)

I attached the data format of the 3 files here:

Unique.gene.txt
Example.ld.txt
Example.assoc.linear.txt

Appreciate your help.

Thank you!

Cheers,
Tina

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions