bio-learn / bio-learn/biolearn

Sample code for caching for faster DNAm loading

Open
#121 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
91
Forks
39
PR merge metrics
No merged PRs in 30d

Description

@sarudak I wasn't able to find a sample code to load data with caching parameters so I am adding this here:

```
cache_path='data/cache/'
cache=biolearn.cache.LocalFolderCache(cache_path,1000)
data_source = DataLibrary(cache=cache).get(geo)
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the documentation or examples for DNAm data loading, then review the DataLibrary and LocalFolderCache usage shown in the issue. Done means the caching sample is added in an appropriate place and clearly demonstrates loading data with cache parameters.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
documentation
Issue type
Documentation
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.