Description Usage Arguments Value Examples
View source: R/signalp_parallel.R
This function splits large XStringSet objects into chunks of given size and returns a list of AAStringSet objects.
1 | split_XStringSet(string_set, chunk_size)
|
string_set |
input AAStringSet object; |
chunk_size |
the number of sequenses in a single chunk; |
list of AAStringSet chunks.
1 2 3 4 5 6 | # Read fasta file:
aa <- readAAStringSet(system.file("extdata", "sample_prot_100.fasta",
package = "SecretSanta"))
# Split it into chunks
# with 10 sequences each:
split_XStringSet(aa,10)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.