Skip to content

What is the default behavior for unassigned genes? #141

Open
@lorenzoamir

Description

@lorenzoamir

Hi, I'm unclear on how the package handles genes that aren't assigned to any module. I see that there is a naColor = 'grey' argument, however the labels2colors function also has a zeroIsGrey = 'True' argument. Does this mean that genes whose module label is 0 are unassigned? What if a module has label 0, but the color is not 'grey'? For example, I am getting this:

WGCNA.datExpr.var[['dynamicColors', 'moduleColors', 'moduleLabels']].value_counts()

dynamicColors  moduleColors  moduleLabels
black          black         0               4702
silver         silver        7               2611
gainsboro      gainsboro     3               2154
whitesmoke     whitesmoke    8               1652
darkgrey       darkgrey      1               1313
dimgrey        dimgrey       2                899
rosybrown      rosybrown     6                714
indianred      indianred     4                114
lightcoral     lightcoral    5                 43
Name: count, dtype: int64

Is the (black) module 0 an actual module or is it supposed to be the gray module?
Thank you!

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