Coder Social home page Coder Social logo

Comments (4)

jrboyd avatar jrboyd commented on July 23, 2024

Hi, I think I was able to reproduce this error. It seems to come from having too few colors configured for the the number of items.

I just pushed a fix. Reinstall from github and try again please., You should see ssvQC version 1.0.22.

With the code you have, it will reuse the same 8 colors. You'd have more control if you made config objects before creating the ssvQC object. QcConfigFeatures.files and QcConfigSignal.files are the relevant functions.

From the help : ?QcConfigSignal.files

object2 = QcConfigSignal.files(bam_files,
sample_names = c("MCF10A_CTCF", "MCF10AT1_CTCF", "MCF10CA1a_CTCF"),
group_names = c("10A", "AT1", "CA1"),
group_colors = c("firebrick", "slategray2", "forestgreen")
)

from ssvqc.

martinezvbs avatar martinezvbs commented on July 23, 2024

Hi,

Thanks for the quick response, it is working now (:

One more question, I was running the following code to access to the plots

sqc$plots$signal
sqc$plots$features$venn
sqc$plots$correlation$signal_profile_ggplot_heatmap
  1. The first plots contain the heatmaps (bw) "All signals at 1 to 15" but I am still not sure what "All signal at" means or how it group them together (from 1 to 6 groups)
  2. The second goes from from "All signal at 1 to 15" but in this case using lines (bigwig signal)
  3. Finally I see the "venn diagrams" but I would like to know how to compare between the broadpeaks, so far I just have all the peaks per sample (in a circle individually) but I would like to compare them

Again, thanks for the time!

from ssvqc.

jrboyd avatar jrboyd commented on July 23, 2024

I'm kind of guessing what you're looking at here based on the info you've provided. My guess is that ssvQC is looking at each peak set individually in the context of all signals files for each.

If what you wanted is a comparison between all your peak sets, then give the following code a try:

qcf = QcConfigFeatures.files(np_files, run_separately = FALSE)
sqc = ssvQC(qcf, bw_files)

By going through a config object we have much more control.

Also since you have so many peak sets, a venn diagram is unlikely to helpful, and ssvQC can't create a venn for that many anyway.

I'd recommend:

sqc$plots$features$binary_heatmap$All_features
sqc$plots$features$UpSet$All_features

from ssvqc.

martinezvbs avatar martinezvbs commented on July 23, 2024

Hi,

Yes, the recommendation above worked,

thank you so much!

from ssvqc.

Related Issues (5)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.