immunomind / immunarch

🧬 Immunarch: an R Package for Fast and Painless Exploration of Single-cell and Bulk T-cell/Antibody Immune Repertoires
https://immunarch.com
Apache License 2.0
311 stars 66 forks source link

How to split 10x genomics merged CSV by metadata #323

Open amufaamo opened 1 year ago

amufaamo commented 1 year ago

Hi, I have merged filtered_contig_annotations.csv generated by "cell ranger aggr" commands. This file contains metadata column. So, can I split the CSV file by metadata after repLoad?

Alexander230 commented 1 year ago

Hi, @amufaamo!

I'm Aleksandr Popov, a developer of Immunarch package. Thank you for using our software!

After repLoad(), immunarch data is a list of 2 elements: data and meta. data is a list containing dataframes for each sample, and meta is a single dataframe for metadata. How do you want to split it? If you attach an example data, I can help you with loading it into immunarch correctly.

Best regards, Aleksandr