search for: list_data

Displaying 1 result from an estimated 1 matches for "list_data".

Did you mean: hist_data
2017 Nov 03
1
as.spikeTrain
...ave recently used the as.spikeTrain function in the STAR Packages but instead of using the CAL1S data that could be found in the package, I used data from other sources. I am able to convert the data into the required data frame but when I execute the as.spikeTrain function: datafile <- lapply(list_data,as.spikeTrain) It will give this error: Error in FUN(X[[i]], ...) : The elements of X[[i]] should be all different. Error in FUN(X[[i]], ...) : X[[i]] should have strictly increasing elements. I found out that as.spikeTrain will only work when the raw data (in txt, csv or any other format...