'Bubblegum plot for expression data and percentage occurrence in cell types

good morning!

I hope everyone is well. I have a question about the input file for the bubblegum plot. I have two .csv files that I assembled from Single-Cell RNAseq expression data: the first, percentage of occurrence of this expression in different cell types, and the second, the gene expression values in these different cell types. I want to plot a graph like the one suggested by Federico Giogi. My question is: what should my input file look like, if I plot the percentage of occurrence data as the bubble area and the expression values as the color pattern of these bubbles?

Thank you very much for your attention.

Michele



Solution 1:[1]

If you know the days when you are closed ( which you must do ) why not something like this?

    $closed=array(
        date('w',strtotime('Tuesday')),
        date('w',strtotime('Wednesday'))
    );
    $status=in_array( date('w'),$closed ) ? 'Closed' : 'Open';
    printf('We are "%s" on %s', $status, date('l') );

which today outputs:

We are "open" on Saturday

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Professor Abronsius