Toolverse
All skills

bulk-rna-seq-batch-correction-with-combat

by Starlitnightly

Use omicverse's pyComBat wrapper to remove batch effects from merged bulk RNA-seq or microarray cohorts, export corrected matrices, and benchmark pre/post correction visualisations.

Installation

Pick a client and clone the repository into its skills directory.

Installation

Quick info

Category
Mobile
Views
4

About this skill

Use omicverse's pyComBat wrapper to remove batch effects from merged bulk RNA-seq or microarray cohorts, export corrected matrices, and benchmark pre/post correction visualisations.

How to use

  1. Zainstaluj omicverse i wymagane biblioteki (anndata, pandas, matplotlib). Skill wymaga dostępu do funkcji ov.bulk.batch_correction() z pakietu omicverse.

  2. Przygotuj swoje dane: wczytaj każdą macierz ekspresji osobno za pomocą pd.read_pickle() lub pd.read_csv(). Upewnij się, że wiersze to geny, a kolumny to próbki. Każdą macierz opakuj w obiekt anndata.AnnData i przypisz kolumnę batch w adata.obs z etykietą batch'u (np. '1', '2', '3' lub opisowe nazwy jak 'lab_A', 'lab_B').

  3. Połącz macierze na wspólnych genach: użyj anndata.concat([adata1, adata2, adata3], merge='same'), aby zachować tylko geny obecne we wszystkich batch'ach. Zweryfikuj, że liczba próbek na batch jest zbilansowana.

  4. Uruchom korekcję ComBat: wykonaj ov.bulk.batch_correction(adata, batch_key='batch'). Wartości skorygowane będą przechowywane w adata.layers['batch_correction'], podczas gdy oryginalne dane pozostaną w adata.X.

  5. Eksportuj wyniki: wyodrębnij macierz surowych danych za pomocą adata.to_df().T i macierz skorygowaną za pomocą adata.to_df(layer='batch_correction').T. Zapisz obie macierze jako pliki CSV lub pickle do dalszej analizy.

  6. Porównaj efekt korekcji: wygeneruj wizualizacje przed i po korekcji (np. PCA, heatmapy), aby potwierdzić, że efekty batch'u zostały usunięte bez utraty biologicznego sygnału.

Related skills

flutter-development

by aj-geddes

Build beautiful cross-platform mobile apps with Flutter and Dart. Covers widgets, state management with Provider/BLoC, navigation, API integration, and material design.

Mobile
1,1601,122

liquid-glass-developer

by anyproto

Context-aware routing to iOS 26 Liquid Glass implementation patterns. Use when working with glass effects, GlassEffectContainer, morphing transitions, or iOS 26 visual effects.

Mobile
2061

kotlin-multiplatform

by vitorpamplona

Platform abstraction decision-making for Amethyst KMP project. Guides when to abstract vs keep platform-specific,\nsource set placement (commonMain, jvmAndroid, platform-specific), expect/actual patterns. Covers primary targets\n(Android, JVM/Desktop, iOS) with web/wasm future

Mobile
15105

xcodebuildmcp

by cameroncooke

Official skill for XcodeBuildMCP. Use when doing iOS/macOS/watchOS/tvOS/visionOS work (build, test, run, debug, log, UI automation).

Mobile
2225

mobile-design

by sickn33

Mobile-first design and engineering doctrine for iOS and Android apps. Covers touch interaction, performance, platform conventions, offline behavior, and mobile-specific decision-making. Teaches principles and constraints, not fixed layouts. Use for React Native, Flutter, or

Mobile
6091

vercel-react-native-skills

by vercel-labs

React Native and Expo best practices for building performant mobile apps. Use when building React Native components, optimizing list performance, implementing animations, or working with native modules. Triggers on tasks involving React Native, Expo, mobile performance, or

Mobile
1745