View source: R/get_seqs_from_feature_df.R
get_seqs_from_feature_df | R Documentation |
Get sequences based on data generated with webscrape_ncbi
get_seqs_from_feature_df(
feature_df,
origin,
concat = T,
make_revcomp = F,
min_to_max = F,
return = c("sequences", "df_wide", "df_long"),
matches_to_origin_and_feature = list(c(F, T), c(F, F)),
order_features = F,
compare_seq_df_long_args = list()
)
feature_df |
data frame of features as returned by webscrape_ncbi |
origin |
reference sequence for features |
concat |
concatenate sequences which have gaps in origin |
make_revcomp |
return the reverse complement of sequences when complement column is TRUE, for alignment to origin do not have revcomp return, for writing features into a ref genome do have the it return |
min_to_max |
return whole sequences from start to end including gaps (TRUE), or remove gaps (FALSE) |
return |
which formats to return; restriction to what is needed saves memory and increases speed |
matches_to_origin_and_feature |
mark matches and mismatches in origin and/or feature sequences |
order_features |
order features by min position |
compare_seq_df_long_args |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.