split_mat | R Documentation |
This function splits a large matrix into smaller blocks with cols_per_chunk
columns per block,
and saves them as .rds
files with prefix prefix
split_mat(mat, cols_per_chunk, prefix, overwrite = TRUE, verbose = TRUE)
mat |
The matrix to be split |
cols_per_chunk |
Number of columns per block |
prefix |
Prefix of output files |
overwrite |
Overwrite existing files (default |
verbose |
Print progress updates |
packedancestrymap_to_afs
, afs_to_f2
## Not run:
afdat = packedancestrymap_to_afs('path/to/packedancestrymap_prefix', allpopulations)
split_mat(afdat$afs, cols_per_chunk = 20, prefix = 'afdat_split_v42.1/afs')
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.