Skip to content

Question on Removing Cytoband Borders in karyoploteR #157

Description

@hj-99

Dear Blogger,

I hope this message finds you well. I’m writing to ask for your guidance regarding an issue I’ve encountered while using the karyoploteR package. Specifically, I’m trying to remove the borders around cytobands when plotting custom regions of interest on a chromosome.

Here’s a brief summary of the issue: I replaced the default cytobands with regions I’m interested in; however, because these regions are relatively small compared to the entire chromosome, the color displayed for these regions is primarily the black border, rather than the intended fill color.

Below is a snippet of my code for your reference:
kp <- plotKaryotype(genome = custom.genome, cytobands = custom.cytobands, chromosomes="chr21", plot.type = 2)

I’ve also attached an image that illustrates the issue. Any advice on how to adjust or remove the cytoband border color would be greatly appreciated.

Thank you very much for your time, and I look forward to any insights you might share.

Best regards,
h

Metadata

Metadata

Assignees

Labels

usage questionUser question about how to use the package

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions