Skip to main content

Automize Science is a Python package designed to elaborate data into graphs coming from lipid extractions (LC/MS).

Project description

Automize Science

What is it

Automize Science is a Python package designed to elaborate data into graphs coming from lipid extractions (LC/MS). Starting from a file containing the pmol/mg values per each sample, this package streamlines the process of data analysis and visualization.

Features

Automize Science includes the following features:

  • Data Sanitization: Clean and prepare data for analysis, removing internal standard samples and non value samples.
  • Data Normalization: Normalize values with log10 to ensure consistency across samples.
  • Normality Check: Use the Shapiro-Wilk test to check for normality of residuals.
  • Equality of Variance Check: Use Levene's test to assess the equality of variances.
  • Statistical Significance Annotation: Annotate boxplots with significance levels using t-test, Welch's t-test, or Mann-Whitney test depending on the data requirements, through the starbars package.
  • Visualization Tools: Create boxplots to aid in data interpretation.

Installation

You can install the package via pip:

pip install automize_science


Alternatively, you can install the package from the source:

git clone https://github.com/elide-b/automize-science.git
cd automize-science
pip install .

Usage

Here is one example of how to use Automize Science:

import automize_science 

# Example usage
df = automize_science.data_workflow(
    file_path="My project.xlsx",
    data_sheet="Data Sheet",
    mice_sheet="Mice Sheet",
    output_path="C:/Users/[YOUR-USERNAME]/Documents/example",
    control_name="CM",
)

automize_science.zscore_graph_region(
    df_final=df,
    control_name="CM",
    experimental_name="EM",
    output_path="C:/Users/[YOUR-USERNAME]/Documents/example",
    palette="Set2",
    show=True,
)

Returns graphs.

Examples

For more detailed examples, please check the example folder.

Contributing

We welcome contributions! If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement".

To contribute:

  1. Fork the repository.
  2. Create a new branch (git checkout -b feature-branch).
  3. Commit your changes (git commit -m 'Add some amazing feature').
  4. Push to the branch (git push origin feature-branch)
  5. Open a pull request

License

Distributed under the MIT License. See LICENSE.txt for more information.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

automize_science-1.0.2.tar.gz (9.5 kB view details)

Uploaded Source

Built Distribution

automize_science-1.0.2-py2.py3-none-any.whl (10.4 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file automize_science-1.0.2.tar.gz.

File metadata

  • Download URL: automize_science-1.0.2.tar.gz
  • Upload date:
  • Size: 9.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.32.3

File hashes

Hashes for automize_science-1.0.2.tar.gz
Algorithm Hash digest
SHA256 fe9c4e8141d6c930dedd94975d0ca2cb13f695463935c3872d2bb1f605b10cd4
MD5 6b754adde5fd08cad9bc76d70fe4476e
BLAKE2b-256 713532f7f0649e2b8d9d93c362057655a1fd75c82f08c48ec688e6646056bb8a

See more details on using hashes here.

File details

Details for the file automize_science-1.0.2-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for automize_science-1.0.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 269ad754adab43c316b8632867e2acfee263c282b82a1d8ed078ec4bb6628c34
MD5 14faf9ab83883aec6756ff15dcb716dd
BLAKE2b-256 f0dffdece2ba58e03dd6d16a303bd48d360ddc55ec5cf50014d017dd776bcc41

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page