Nothing
#' Do a mock prediction directy on a protein sequence,
#' as can be useful in testing
#' Use \link{predict_topologies_from_sequences} for doing a real prediction.
#' @inheritParams default_params_doc
#' @return a topology as a string of zeroes and ones, where a one denotes
#' that the corresponding amino acid is located within the membrane.
#' @examples
#' protein_sequence <- paste0(
#' "QEKNWSALLTAVVIILTIAGNILVIMAVSLEKKLQNATNYFLM",
#' "SLAIADMLLGFLVMPVSMLTILYGYRWP"
#' )
#' mock_predict_topologies_from_sequences(protein_sequence)
#' @author Richèl J.C. Bilderbeek
#' @export
mock_predict_topologies_from_sequences <- function(# nolint indeed a long function name
protein_sequences
) {
pureseqtmr::check_protein_sequences(protein_sequences)
topologies <- rep("", times = length(protein_sequences))
for (i in seq_along(protein_sequences)) {
topologies[i] <- paste0(
rep(0, times = nchar(protein_sequences[i])),
collapse = ""
)
}
topologies
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.