You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Subset the MatrixTable to the provided list of samples and their variants.
237
+
Subset the MatrixTable or VariantDataset to the provided list of samples and their variants.
237
238
238
-
:param mt: Input MatrixTable
239
+
:param mtds: Input MatrixTable or VariantDataset
239
240
:param sample_path: Path to a file with list of samples
240
241
:param header: Whether file with samples has a header. Default is True
241
242
:param table_key: Key to sample Table. Default is "s"
242
243
:param sparse: Whether the MatrixTable is sparse. Default is False
243
244
:param gt_expr: Name of field in MatrixTable containing genotype expression. Default is "GT"
244
-
:return: MatrixTable subsetted to specified samples and their variants
245
+
:param remove_dead_alleles: Remove alleles observed in no samples. This option is currently only relevant when `mtds` is a VariantDataset. Default is False
246
+
:return: MatrixTable or VariantDataset subsetted to specified samples and their variants
0 commit comments