Skip to content

TalusBio/cortado

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cortado

Predict the retention times for missing peptides using the Soft-Impute algorithm

Usage

Cortado is currently in a usable prototype state.

To use Cortado, you'll need to read your retention times into a 2D Numpy array. For example:

import polars as pl
from cortado import SoftImpute


# Each column is a sample and each row is a precursor.
df = pl.read_csv("my_data.csv")

# Remove any columns that are not reten
mat = df.drop("precursor_id").to_numpy()

Now you can impute the missing retention times:

filled_mat = SoftImpute().fit_transform(mat)

About

Predict the retention times for missing peptides in an MS run.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages