Skip to content

Error running sc_mosim #6

@anu-bioinfo

Description

@anu-bioinfo

Hello carolinamonzo,
I am using your very helpful software to simulate scATAC-seq data.

My cells are in three phases G0(685 cells), G1(222 cells) and SG2M(91 cells).
I create the cell_types list the following way:

cell_types <- list('G0' = c(1:685),'G1' = c(686:908),'SG2M' = c(909:998))

And run the simulation as:

cre_n_sim<-MOSim::sc_mosim(omic_list,cellTypes=cell_types,associationList=cre_n_aso,numberReps=6)
The experimental design includes:
- 6 Biological replicates
- 1 Experimental groups
- Differentially expressed genes (Up/Down) per group
- 0.25 FC below which a gene is downregulated
- 4 FC above which a gene is upregulated
- 685 Number of cells per celltype
- Regulators (activator/repressor) per group
- 3 Gene co-expression patterns
Estimating parameters for experimental group 1
Error in .local(x, ...) : size factors should be positive

I have two questions:
1). By the output dialogue of the command it seems like the program is assuming that all the cell-types have the same number. Is it possible to run the simulation using different number of cells ?

2). How can I resolve the error ?

Thanks in advance for any help.

Best,

Anupam

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions