inmoose.edgepy.splitIntoGroups
- inmoose.edgepy.splitIntoGroups(y, group=None)
Split the counts according to group
Split the counts from a matrix of counts according to a group, creating a list where each element consists of a numeric matrix of counts for a particular experimental group.
- Parameters:
y (array_like) – matrix of counts
group (array_like or
Factor) – vector or factor giving the experimental group/condition for each library
- Returns:
list in which each element is a matrix of counts for an individual group.
- Return type:
list