moonstone.parsers.counts.GeneCountsParser

class moonstone.parsers.counts.GeneCountsParser(*args, **kwargs)[source]

Common way of representing gene counts per sample in a matrix.

Format is the following:

genes

sample_1

sample_2

gene_1

3

19

gene_2

9

10

__init__(*args, **kwargs)[source]
Parameters
  • file_path – path of the input file to be parsed

  • sep – delimiter to use (same behaviour as read_csv from pandas)

  • no_header – set to True if table has no header

  • parsing_options – Extra parsing options for read_csv method, (see pandas documentation)

Methods

__init__(*args, **kwargs)

param file_path

path of the input file to be parsed

Attributes

dataframe

Retrieve the pandas dataframe constructed from the input file.

plotter

Access to instance dedicated to visualization for this type of data.