Displaying 5 results from an estimated 5 matches for "anno1148ft".
2024 Jun 12
1
my R code worked well when running the first 1000 lines of R code
...sking.
> I just hope to that someone has similar experience, so providing me suggestion.
>
> For conflicting issue,
>
> What I tried was to add dplyr::pivot_longer or tidyr:: pivot_longer,
Do that to all functions comming from contributed packages. At least to
those.
summary_anno1148ft <- anno1148ft %>%
tidyr::pivot_longer(c(t_depth, t_alt_count, t_alt_ratio), names_to =
"measure") %>%
dplyr::group_by(dat, measure) %>%
dplyr::summarize(minimum = min(value,na.rm=T),
q25 = quantile(value, probs = 0.25,na.rm=T),...
2024 Jun 12
1
my R code worked well when running the first 1000 lines of R code
...> I just hope to that someone has similar experience, so providing me suggestion.
>
> For conflicting issue,
>
> What I tried was to add dplyr::pivot_longer or tidyr:: pivot_longer,
Do that to all functions comming from contributed packages. At least to
those.
summary_anno1148ft <- anno1148ft %>%
tidyr::pivot_longer(c(t_depth, t_alt_count, t_alt_ratio), names_to =
"measure") %>%
dplyr::group_by(dat, measure) %>%
dplyr::summarize(minimum = min(value,na.rm=T),
q25 = quantile(value, probs = 0.25,na.rm=T),...
2024 Jun 12
3
my R code worked well when running the first 1000 lines of R code
...or three variables (t_depth, t_alt_count, t_alt_ratio), 12 columns of summary, see attached.
However, after running another 2000 lines of R codes using functions from more than 10 other R libraries, then it only generated one column of summary.
Do you know why?
Thank you,
Yuan Chun Ding
summary_anno1148ft <- anno1148ft %>%
pivot_longer(c(t_depth, t_alt_count, t_alt_ratio), names_to = "measure") %>%
group_by(dat, measure) %>%
summarize(minimum = min(value,na.rm=T),
q25 = quantile(value, probs = 0.25,na.rm=T),
med = median(value,na.rm=T),...
2024 Jun 12
1
my R code worked well when running the first 1000 lines of R code
...or three variables (t_depth, t_alt_count, t_alt_ratio), 12 columns of summary, see attached.
However, after running another 2000 lines of R codes using functions from more than 10 other R libraries, then it only generated one column of summary.
Do you know why?
Thank you,
Yuan Chun Ding
summary_anno1148ft <- anno1148ft %>%
pivot_longer(c(t_depth, t_alt_count, t_alt_ratio), names_to = "measure") %>%
group_by(dat, measure) %>%
summarize(minimum = min(value,na.rm=T),
q25 = quantile(value, probs = 0.25,na.rm=T),
med = median(value,na.rm=T),...
2024 Jun 12
1
my R code worked well when running the first 1000 lines of R code
...o), 12
> columns of summary, see attached.
> However, after running another 2000 lines of R codes using functions from
> more than 10 other R libraries, then it only generated one column of
> summary.
> Do you know why?
>
> Thank you,
>
> Yuan Chun Ding
>
> summary_anno1148ft <- anno1148ft %>%
> pivot_longer(c(t_depth, t_alt_count, t_alt_ratio), names_to = "measure")
> %>%
> group_by(dat, measure) %>%
> summarize(minimum = min(value,na.rm=T),
> q25 = quantile(value, probs = 0.25,na.rm=T),
> med = medi...