using the test_data i downloaded. It works as posted
sp <- spectratype(immdata$data[[1]], .col = "aa+v")
vis(sp)
but immdata$data[[1]] is only Sample1. I would like to plot for all 4 (or all), but getting an error.
Help function tells me that data is a data frame or list of data frames. Is it possible to plot a spectratype for all samples in the dataset
vis(spectratype(immdata$data, .col = "aa+v"))
Error: !has_class(.data, "list") is not TRUE
But is a list of dataframes
class(immdata$data)
[1] "list"
class(immdata$data[[1]])
[1] "tbl_df" "tbl" "data.frame"
Hello,
I am trying to reproduce the spectrotype plot as per
https://immunarch.com/reference/spectratype.html
using the test_data i downloaded. It works as posted sp <- spectratype(immdata$data[[1]], .col = "aa+v") vis(sp)
but immdata$data[[1]] is only Sample1. I would like to plot for all 4 (or all), but getting an error. Help function tells me that data is a data frame or list of data frames. Is it possible to plot a spectratype for all samples in the dataset
Thank you very much
Vlad Makarov